i believe the msg should be .msg too. i have a relay script myself for this command but mine is far more elaborate and has flood protection
http://www.hawkee.com/snippet/4441/
Well all .msg does is silence it on the bot\'s mIRC. Either way it should message.