Public paste
Undefined
By: sdgdsg | Date: Jan 2 2007 19:03 | Format: None | Expires: never | Size: 440 B | Hits: 1325

  1. on *:TEXT:*:#:{rn  set %flood.chan $chanrn  set %flood.nick $nickrn  set -u2 %flood.prot $calc(%flood.prot +1)rn  if (%flood.prot == 3) { rn    /writeini -n database/kick.ini kickcounter kickNo $calc($readini(database/kick.ini,1,kickcounter,kickNo) + 1) rn    ban -ku3600 %flood.chan %flood.nick BANNED for 1 hour - reason : flooding - Id : $readini(database/kick.ini,1,kickcounter,kickNo)rn    unset %flood.nickrn  }rn}