All pastes #762524 Raw Edit

Something

public text v1 · immutable
·published 2007-11-05 19:08 UTC
rendered paste body
on @!*:text:*:#: { 
  if ($nick isreg #) && ($me isop #) { 
    inc -u10 %pro.txt [ $+ [ $nick ] ] 1 
    if (%pro.txt [ $+ [ $nick ] ] > 3) { 
      set -u600 %rl. [ $+ [ $nick ] ] $calc( %rl. [ $+ [ $nick ] ] + 1) 
      if (%rl. [ $+ [ $nick ] ] == 1) { kick # $nick Flood. This is first warning!. } 
      if (%rl. [ $+ [ $nick ] ] >= 2) { 
        ban -u300 # $nick 2 
        kick # $nick Flood, we warned you! Ban: 5mins 
        unset %pro.c.txt.f [ $+ [ $nick ] ] 
        unset %rl. [ $+ [ $nick ] ] 
      } 
    } 
  }  

}