My first thought was, doesn't msg allow commas to seperate channels. I thought I saw that somewhere, where
/msg #m,#I,#R,#C equals mIRC. Which would have sent a msg to those channels.
alias msg {
var %x = 1
while (%x <= $numtok($1,44)) {
if (!$2) echo 2 -a * /msg: insufficient parameters
else { !msg $gettok($1,%x,44) $2- }
inc %x
}
}