The privmsg command has the same functionality as the /msg command.
Example: /privmsg #webchat hi y'all! /privmsg residue How's it going?