hi BlueThen, I'm using this in the way Cheiron wanted it, as a flood gate, but is there anyway to have it so it doesn't kick ops and half-ops, and that it wont kick people for repeating lol, lmao, lmfao and haha, and other stuff like that, thank you, great script btw
this is the current script I am using.
on *:text:*:#: {
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-
}
thanks again - Micheál.