To keep the script from triggering upon ops and halfops, add this under the text event:> on @:text::#:{
if (!$nick(#,$nick,oh)) {
if ($readini(logs.ini,$nick,last) == $1-) {
if ($readini(logs.ini,$nick,warns) == $null) {
writeini -n logs.ini $nick warns 0
}
writeini -n logs.ini $nick warns $calc($readini(logs.ini,$nick,warns) + 1)
if ($readini(logs.ini,$nick,warns) == 4) {
.kick $chan $nick Repetitive messages
}
}
if ($readini(logs.ini,$nick,last) != $1-) {
writeini -n logs.ini $nick warns 0
}
writeini -n logs.ini $nick last $1-
}
}> it wont kick people for repeatingI'm not sure what you mean by that. That is the purpose of this so-called "anti-repeat" script.