massinvite { var %x = 1 while (%x <= $nick($2,0)) { invite $nick($2,%x) $chan inc %x } }