Thank you for this brilliant inspiration which I would have never thought up myself.

It is rather inefficient to continually tokenize the string, and you never actually send a message to the channel (or were you just pointing out the echo -a to display what it's doing?). You may as well just do:

Code:
alias msg { 
  var %a 1,%b 
  while $gettok($1,%a,44) { 
    %b = $ifmatch 
    !.msg %b $2- 
    echo -t %b < $+ $nick(%b,$me).pnick $+ > $2- 
    inc %a 
  }
}


(And yes there are tonnes of ways such as the multple /dec applications instead)