Lindrian commented on a Page, Mass kick more than one person  -  Aug 14, 2007

I think this code here would work ALOT better:

on @*:TEXT:!*:#: {
  if ($istok(!kick !k,$1,32)) && ($nick($chan,$nick,oh)) && ($2) {
    var %t = $numtok($2-,32)
    while (%t) {
      if ($gettok($2-,%t,32) != $me) && ($gettok($2-,%t,32) ison $chan) {
        kick $chan $v1
      }
      dec %t
    }
  }
}

^Untested.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.