All pastes #57434 Raw Edit

Someone

public text v1 · immutable
#57434 ·published 2006-05-21 02:52 UTC
rendered paste body
on ^@*:TEXT:*:#:{
  if ($nick !isreg $chan) { goto end }
  if (%lockusr- [ $+ [ $chan ] $+ [ $nick ] ]) { haltdef | goto end }
  inc -u [ $+ [ %rep.t.lim ] ] %rep- [ $+ [ $nick ] $+ . $+ [ $chan ] $+ . $+ [ $len($strip($1-)) ] $+ . $+ [ $hash($strip($1-),32) ] ] 1
  if (%rep- [ $+ [ $+($nick,.,#,.,$len($strip($1-)),.,$hash($strip($1-),32)) ] ] == %rep.lim) {
    if ($nick ison $chan) { 
      set %kstat (repeated %rep.lim times in %rep.t.lim seconds)
      kickc $chan $nick you have been kicked. you have been kicked. you have been kicked. you have been kicked... see it aint nice when i do it, so you dont do it also.
    }
    .set -u10 %lockusr- [ $+ [ $chan ] $+ [ $nick ] ] 1
  }
  else goto end
  :end
}