i made this script myself (im a nub)
*** HUGE thanks to RusselB for adding the ban part in :)
*edit i made stoppers, if your hop or op it will halt :)
*this script is intended to cutdown on flooding in +m channels
Help:
inc -u7 $+(%,spam.,$nick) <-- -u7 7 stand for seconds
if $($+(%,spam.,$nick),2) == 5 { <-- 5 means lines
if $($+(%,spam.devoice.,$nick),2) == 5 { <-- 5 means times you will devoice someone before 10 minute ban
ex: the above will devoice the person if they say 5 lines in under or at 7 seconds
on @*:TEXT:*:#:{
inc -u7 $+(%,spam.,$nick)
if $($+(%,spam.,$nick),2) == 5 {
.mode $chan -v $nick | msg $chan 4 $nick is spamming [devoice 15 sec]
.inc $+(%spam.devoice.,$nick)
if $($+(%,spam.devoice.,$nick),2) == 5 {
.ban -ku600 $chan $nick Banned for multiple spamming
unset $+(%,spam.devoice.,$nick)
}
else {
.timer 1 15 /mode $chan +v $nick
.timer 1 16 notice $nick youve been revoiced, dont spam again.
}
}
}