Public paste
Undefined
By: jew | Date: Jan 2 2007 19:16 | Format: None | Expires: never | Size: 430 B | Hits: 630

  1. on *:TEXT:*:#:{
  2. if (!%flood.prot. [ $+ [ $nick ] ]) { set -u2 %flood.prot. $+ $nick 1 }
  3. else {
  4.   inc %flood.prot. [ $+ [ $nick ] ]
  5.   if (%flood.prot. [ $+ [ $nick ] ] >= 3) {
  6.     writeini -n database/kick.ini kickcounter kickNo $calc($readini(database/kick.ini,1,kickcounter,kickNo) + 1)
  7.     ban -ku3600 $chan $nick BANNED for 1 hour - reason : flooding - Id : $readini(database/kick.ini,1,kickcounter,kickNo)
  8.  }
  9. }
  10. }
Latest pastes
5 hours ago
5 hours ago
6 hours ago
6 hours ago
2 days ago