alias massinvite { var %a = 1 while ($nick($1,%a,r)) { invite $v1 $2 inc %a } }