Is there any tcl what can akill flooder?
Thanks
ps. my bot will have services access to akill
Code: Select all
bind flud - * flud:akill
proc flud:akill {nick uhost hand type chan} {
# don't know syntax so use $nick $host depending on host or nick
putserv "akill $nick :reason"
}
Description: any floods detected through the flood control settings (like 'flood-ctcp') are sent here before processing. If the proc returns 1, no further action is taken on the flood; if the proc returns 0, the bot will do its normal "punishment" for the flood. The flood types are: pub, msg, join, or ctcp (and can be masked to "*" for the bind); flags are ignored.