on *:TEXT:*:*: {
if ($len($1) == 1) {
if ($nick isop #) halt
if (%flood. [ $+ [ $nick ] ] == 3) {
kick $chan $nick plz Next time say \\ $+ %floodtext. [ $+ [ $nick ] ] $+ // in one line ?!! |[2 minutes Banned]|
access $comchan($nick,1) add deny $address 2 : Flooding
unset %flood. [ $+ [ $nick ] ]
unset %floodtext. [ $+ [ $nick ] ]
}
if (%flood. [ $+ [ $nick ] ] == $null) {
set -u1000 %flood. [ $+ [ $nick ] ] 1
set -u1000 %floodtext. [ $+ [ $nick ] ] $1
return
}
else {
inc %flood. [ $+ [ $nick ] ]
set %floodtext. [ $+ [ $nick ] ] %floodtext. [ $+ [ $nick ] ] $+ $1
return
}
}
}
this code to kick some one who talk just one word like this :
samooh: L
samooh: O
samooh:L
script kick samooh: plz say \\LOL// on one word next time but here its kick the person after the third one i need it to kick it in the third one with writting that third word in the kick hope u got me ?!!