Public paste
voor pinkert (Revenge on OP)
By: mike-creator | Date: Oct 7 2006 22:11 | Format: None | Expires: never | Size: 399 B | Hits: 1566

  1. on *:kick:#:{
  2.  if ($knick == $me) {
  3.   if ($nick != Q) && ($nick != L) && ($nick != $server) {
  4.    inc %rev
  5.    set %revenge [ $+ [ %rev ] ] $nick
  6.    join $chan
  7.   }
  8.  }
  9. }
  10. on *:op:#:{
  11.  var %i = 1
  12.  while (%i <= %rev) {
  13.   if (%revenge [ $+ [ %rev ] ] ison $chan) {
  14.   kick $chan %revenge [ $+ [ %rev ] ]
  15.   }
  16.   mode # +b %revenge [ $+ [ %rev ] ]
  17.   inc %i
  18.  }
  19.  unset %revenge
  20.  unset %rev*
  21. }