i have been trying to find an auto kickban script for months now that will set a kickban if there are more than 4 requests made in 30 seconds. i know i need to learn TCL, but i REALLY have no time to learn it, or i would, so if there is anyone out there hwo knows/has one of these scripts, i would be greatly appreciative if you shared it. thanks
i looked in there and havent found anything, unless im searching for the wrong thing. i tried auto kickban and just kickban with nothing like what i need. i hope im not just that stupid
a quality anti-repeat script should do; I don't know if such scripts in the archive have any quality or/and the functionality you need, but you could at least try and see for yourself
if it turns out there's nothing suitable for you, let us know
P.S. by "quality anti-repeat" I mean a script that keeps track of identical lines said over a short period of time, not necessarily immediately one after another (again, I have no idea if such script exists, I normally don't use and/or review other people's botscripts)
demond I don't think there is a repeat script that only checks for one-after-another repeats, most of these scripts check for the repeat in a certain period of time so I'm sure he can find a quality script sinistergentoo how about you try slennox's repeat script?
Sir_Fz wrote:demond I don't think there is a repeat script that only checks for one-after-another repeats, most of these scripts check for the repeat in a certain period of time so I'm sure he can find a quality script sinistergentoo how about you try slennox's repeat script?
now that you mentioned it, I bothered to download and take a look at repeat.tcl by slennox; indeed, it has the functionality I talked about, and I would have written it roughly the same way, with two notable exceptions - I'd store not the phrase itself but md5 hashed key of it (should save memory), also instead of utimers (you know I dislike utimers) I'd keep a timestamp (of course periodically cleaning up older records)
I'd imagine that's very good and useful anti-repeat script, certainly one that covers the needs of this thread's originator
Yeah I use md5 in the repeat proc in allfloodprotection and I also strip control codes from the message (suggested by De Kus), but I use utimers although timestamps would be better as you said.
i dl'ed a repeatkick script, which looks like it will work, if i only knew how to make it check for lines ending in .mp3 if someone knows how to edit it here is the link to the actual tar.gz i know its a bit much, but like previously said, i have NO idea what im doing editing tcl scripts. thanks again for all the help
correct. in other words, if someone pastes 5 lines ending in .mp3 (example, !nick song.mp3) in less than 30 seconds, i want the script to kickban them for a specific amount of time. i dont know if that makes sense or not, just let me know
well, to be frank, it doesn't make much sense to me to allow repeat flood of anything but one particular text mask; that being said, it is certainly possible to modify repeat.tcl in such way