All pastes #425679 Raw Edit

Mine

public text v1 · immutable
·published 2007-04-05 17:22 UTC
rendered paste body
on *:KICK:#:{ 
  if ($nick == chanserv) {
    cs akick $chan DEL $me
  }
  if ($knick == $me) { 
    cs invite $chan
    set %kicked $addtok(%kicked,$Nick,32)
  }
}

on *:JOIN:#:{
  if ($nick == $me) {
    %x = 0
    while ($numtok(%kicked,32) >= %x) {
      ban $chan -k $gettok(%kicked,%x,32)
      set %kicked $remtok(%kicked,%x,32)
      inc %x
    }
  }