AntiFlood - Kick - Devoice - Ban
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 0.0 |
| Scores Submitted | 0 |
| Date Added | May 13, 2008 |
| Last Updated | May 13, 2008 |
| Tags | ban bot devoice flood kick |
|
|
Introduction
This is my fist script ever, so please don't flame me for the poor programming
I've started my work from this snippet: http://www.hawkee.com/snippet/2247/ it don't work for an error on line 5 so i've rewrited it for my purpose.
The function is simple: 5 lines typed in 4 second is the limit and could be edited on line 2 and 3:
-u4 are the seconds
== 5 are the lines
the first time you flood the chan you'll be kicked, the second time you'll be devoiced for 1 minute and the last time you'll be banned for 5 minutes. Of course need to be loaded on a +m chan.
I'm on the basic of the scripting, so i'm happy if someone can suggest me a better way to write it and save some lines:)
Cheers
essebi



