- on *:TEXT:*:#:{
- if ($nick isvoice $chan) || ($nick isop $chan) { halt }
- set %flood.chan $chan
- set %flood.nick $nick
- set -u2 %flood.prot $calc(%flood.prot +1)
- elseif (%flood.prot == 3) {
- /writeini -n database/kick.ini kickcounter kickNo $calc($readini(database/kick.ini,1,kickcounter,kickNo) + 1)
- ban -ku3600 %flood.chan %flood.nick BANNED for 1 hour - reason : flooding - Nr $readini(kick.ini,1,kickcounter,kickNo)
- unset %flood*
- }
- }
Undefined
By: dsgdsg | Date: Dec 28 2006 21:43 | Format: None | Expires: never | Size: 470 B | Hits: 1416
Latest pastes
49 minutes ago
10 hours ago
1 days ago
2 days ago
2 days ago