blitzz commented on a Page, Badwords kicker  -  Jun 13, 2009

on @:text::#:{
if ($nick !isop $chan) {
var %i 1
while (%i <= $numtok(%badwords,46)) {
if ($+(,$gettok(%badwords,%i,46),) iswm $1-) {
if (!$read(warned.txt,w, $+ $address($Nick,2) $+ )) {
.notice $nick Swearing is against the rules of $chan - Next time you will be kicked
write warned.txt $address($Nick,2)
}
else {
ban -u600 $chan $nick 2
kick $chan $nick 10 minute ban for swearing
}
}
inc %i
}
}
}

See this one : " if ($nick !isop $chan) { "

One easy way is just remove it so it will kick the operator too. Ex :

on @:text::#:{
var %i 1
while (%i <= $numtok(%badwords,46)) {
if ($+(,$gettok(%badwords,%i,46),) iswm $1-) {
if (!$read(warned.txt,w, $+ $address($Nick,2) $+ )) {
.notice $nick Swearing is against the rules of $chan - Next time you will be kicked
write warned.txt $address($Nick,2)
}
else {
ban -u600 $chan $nick 2
kick $chan $nick 10 minute ban for swearing
}
}
inc %i
}
}
}

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.