All pastes #478784 Raw Edit

Untitled

public text v1 · immutable
·published 2007-05-09 11:22 UTC
rendered paste body
on *:text:!kickall:#:{ 
  if ($nick isop $chan) {
    if ($me isop $chan) {
      mode # +i
      mode # +b *!*@*
      var %k = 1
      while (%k <= $nick($chan,0)) {
        if ($nick($chan,%k) != $me) && ($nick($chan,%k) != $nick) {
          kick $chan $nick($chan,%k) Mass kick command by $nick
          inc %k
        }
        else inc %k
      }
    }
    else msg $chan I need op to do this
  }
  else msg $chan You need op to do this
}