| View previous topic :: View next topic |
| Author |
Message |
edu Voice
Joined: 29 Oct 2006 Posts: 31
|
Posted: Tue Oct 30, 2007 2:14 pm Post subject: Help me with a lil` script here |
|
|
Hey guys,
all I need is a lil` "anti flood script" for this script:
| Code: |
setudef flag private
bind join - * edu:join:private
proc edu:join:X {nickname hostname handle channel} {
if {![channel get $channel private]} { return }
putquick "PRIVMSG X :ban $channel $hostname 1 75 This channel is +private"
}
|
A need a this script because when there is a mass join on the channel he goes bye bye (Excess Flood)
Please help me, best regards.
PS: I have a flood join script that +mr's the channel, but is insufficient, because there will be more joins in less than a second _________________ Seek the truth |
|
| Back to top |
|
 |
r0t3n Owner
Joined: 31 May 2005 Posts: 507 Location: UK
|
Posted: Tue Oct 30, 2007 3:50 pm Post subject: |
|
|
use a slower eggdrop queue, ie instead of 'putquick' use 'putserv' or 'puthelp'. _________________ r0t3n @ #r0t3n @ Quakenet |
|
| Back to top |
|
 |
edu Voice
Joined: 29 Oct 2006 Posts: 31
|
Posted: Tue Oct 30, 2007 4:03 pm Post subject: |
|
|
I need it PUTQUICK, because it's MSG X, I can't risc with PUTSERV, I have already test this one, it's not good enough, so..
Can you help me? _________________ Seek the truth |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Tue Oct 30, 2007 7:21 pm Post subject: |
|
|
| edu wrote: | I need it PUTQUICK, because it's MSG X, I can't risc with PUTSERV, I have already test this one, it's not good enough, so..
Can you help me? |
You can help yourself. Your forgetting a mass join usually means a massive amount of people join the channel at the same interval. The joins are two types: one is they are all bots in a botnet preparing something devious soon, the second one is it's simply a netsplit/server rejoin). The problem isn't figuring out the difference between those two (and there is technically 3, Coincidence being 3rd and very rare), that part is easy. The problem stems from the fact that one oppored bot trying to ban them all using putquick msgs to chanserv/x/etc will get knocked down by excess flood every time, if enough hosts join at the right interval (which 75% of the time they have enough). So your request is mostly going to require some way to communicate on a botnet (for those 75%), which by the phrasing of your question you haven't tackled yet either. Realisticly though,your likely just going to have to settle, and use a script that sets the channel temporarily +i and kicks those who joined during/caused the mass-join event. There are scripts tailored to handle join floods on a single bot , in fact several, even the uber mean sentinel.tcl by slennox (not mean, just very strict and uncaring and global, which is good too..) |
|
| Back to top |
|
 |
edu Voice
Joined: 29 Oct 2006 Posts: 31
|
Posted: Wed Oct 31, 2007 7:57 am Post subject: |
|
|
Yes I understand, but the code I had post isn't the one I use, it's a X ban when join if "hostname" is on the bot's banlist, I "don't want to post that code as such as I don't want it to be public" (my own decision)
I use that script on a channel that has an averange of 350 users on it, and there are a lot of joins on it. This is the reason why I asked for help here as you are more clever than me, if you can help me with that code that I think it's only 4/5 lines I will thank you for your time spent on it.
Thanks again _________________ Seek the truth |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Wed Oct 31, 2007 7:42 pm Post subject: |
|
|
| edu wrote: | | Yes I understand, but the code I had post isn't the one I use ... |
Then why post anything at all?
speechles suggested sentinel.tcl an excellent script that will do as required globally and there is also allprotection.tcl.
If your Network supports join throttling then I'd suggest using that as a very simple solution.  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|