If you want to verify that you're using the correct format for the commands, type this in mIRC:
/debug @debug
That will enable a debug window. Now, send a message to someone. You can then look in that debug window to see the format you should be using for PRIVMSG.