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..)
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.