this is a ircop only snippet,
this will kill a user off of the server if they /whois you too much.
default is 3 in 10 seconds,
but i used an alias so that you can easily edit it to fit your needs.
/*
/whois flood protection (for ircops)
By PuNkTuReD
http://www.sassirc.com
edit the "3" and "10"
example: 3 10
would be 3 /whois's in 10 seconds.
*/
alias max.whois return 3 10
on ^*:snotice:* did a /whois on you.: {
$iif(!$($+(%,$2,whois),2),set $+(-u,$gettok($max.whois,2,32)) $+(%,$2,whois) 1,inc $+(%,$2,whois) 1)
if ($($+(%,$2,whois),2) == $gettok($max.whois,1,32)) { unset $($+(%,$2,whois),1) | kill $2 [ /whois abuser - $max.whois in $max.whois.time secs ] }
}
I still don't see how a whois notice flood would bother you. Unless you have something that beeps or bops up. They would probably flood themselves off a server but they even affected you.
Would you consider /chanserv help - a flood? that will display faster than any whois flood, and yet that doesn't affect you remotely.
i have had to use this script a few times on one of my networks SnoooP.
i run alot of protection scripts on this network in some of the main channels (80+ user rooms) and we have been subject to alot of bot attacks etc, me more so on a personal level due to being oper so i get targeted to try and boot me out as a prime target, this script has saved my skin a good few times :D
nice work PunkTuReD :)
gets a like and a 10
Why would you kill a user for whoising you? that is probably one of the worst things a oper could do. Whois 'floods' will not effect you, unless you have some stupid script which notifies you and if yo do have protection on that instead.
In a nutshell, you are abusing your oper status by killing a user for a totally bullshit reason, Nice, I would like to visit your network.