This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

join-flood [SOLVED]

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
User avatar
mavericku
Halfop
Posts: 62
Joined: Sun Jun 12, 2005 11:32 pm
Location: somewhere in the world
Contact:

join-flood [SOLVED]

Post by mavericku »

ok, i've searched and i searched and like a guy around here was saying "my eyes are bleading"

Now i just got up (from bed :D) to ask a simple script (i`m to stupid to make one of my own).
I saw that there are so many join/flood scripts ... but they cover only the flyby thingy ... not things like

Channel Banlist FULL

Code: Select all

 *** ela29 was kicked by Belpo (MSG66A by radik for 0 minutes at Thu Apr 06 11:29:54 AM EST 2006 :Spamming. Esti virusat. /j #dmsetup , dezinfecteaza-te si intoarce-te)
 *** ela29 (~afrzy@195.64.183.12) has joined 
 *** Florentina18 was kicked by Belpo (MSG66A by radik for 0 minutes at Mon Feb 27 18:14:20 EST 2006 :Esti virusat. /join #dmsetup , dezinfecteaza-te si intoarce-te sau /join #unban pentru ajutor)
*** Florentina18 (~yecvv@89.120.99.136) has joined 
 *** ela29 was kicked by Belpo (MSG66A by radik for 0 minutes at Thu Apr 06 11:29:54 AM EST 2006 :Spamming. Esti virusat. /j #dmsetup , dezinfecteaza-te si intoarce-te)
*** ela29 (~afrzy@195.64.183.12) has joined 
*** Florentina18 was kicked by Belpo (MSG66A by radik for 0 minutes at Mon Feb 27 18:14:20 EST 2006 :Esti virusat. /join #dmsetup , dezinfecteaza-te si intoarce-te sau /join #unban pentru ajutor)
 *** ela29 was kicked by Belpo (MSG66A by radik for 0 minutes at Thu Apr 06 11:29:54 AM EST 2006 :Spamming. Esti virusat. /j #dmsetup , dezinfecteaza-te si intoarce-te)
 *** ela29 (~afrzy@195.64.183.12) has joined #
 *** ela29 was kicked by Belpo (MSG66A by radik for 0 minutes at Thu Apr 06 11:29:54 AM EST 2006 :Spamming. Esti virusat. /j #dmsetup , dezinfecteaza-te si intoarce-te)
 *** ela29 (~afrzy@195.64.183.12) has joined #
 *** ela29 was kicked by Belpo (MSG66A by radik for 0 minutes at Thu Apr 06 11:29:54 AM EST 2006 :Spamming. Esti virusat. /j #dmsetup , dezinfecteaza-te si intoarce-te)
 *** VERYRICHMAN (www.romani@ipc379186f.dial.planet.nl) Quit (Excess Flood)
 *** ela29 (~afrzy@195.64.183.12) has joined #
 *** ela29 was kicked by Belpo (MSG66A by radik for 0 minutes at Thu Apr 06 11:29:54 AM EST 2006 :Spamming. Esti virusat. /j #dmsetup , dezinfecteaza-te si intoarce-te)

and on and on and on ... floods the chan pretty much.
p.s. the channel isi usualy over 500+ users.

I would like a script that will use X to ban the guys that can't be banned because the banlist is full.

a simple
"if joins 2 times in a row from a kick = privmsg x :ban $host "the reason it was kicked in the first place"
(i know X does not accept bans with the kick message over 120 caracter in lenght (for that i would like a simple reason like "join/part flood ...get a job moFo"))

PLEASE HELP .. my head hurts already and i think this will be a script for everyone.

oh and please excuse my english
Last edited by mavericku on Sat Oct 07, 2006 9:50 pm, edited 2 times in total.
mavericku
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

It's simple. Upon join check if there is a internal ban and the channel banlist is full (active bans) then tell X ban it. Check tcl-commands.doc and you should figure out how to do this. If you get stuck reply with some pice of code. Don't be lazy as we don't like lazy people.
Once the game is over, the king and the pawn go back in the same box.
User avatar
mavericku
Halfop
Posts: 62
Joined: Sun Jun 12, 2005 11:32 pm
Location: somewhere in the world
Contact:

Post by mavericku »

there are 3 eggs on the channel, those 3 are handling bans/kicks/modes
there is ANOTHER bot that handles unban/limit, those 3 bots are linked .. this one is not. ( i can't link them as i`m not the owner for the other 3)

After my opinion the join/part flood script i need is the only thing i can do.

tell me, is there another way to ban join/flood trough X without needing to compare banlist bans with the bots internal list?

I will gladly make this script myself but i will need some indications. (not asking you to do it for me .. just an example and i'll continue it)

Thank you.
mavericku
User avatar
mavericku
Halfop
Posts: 62
Joined: Sun Jun 12, 2005 11:32 pm
Location: somewhere in the world
Contact:

Post by mavericku »

nobody? ... please...
mavericku
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

caesar gave you your answer I believe?
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
mavericku
Halfop
Posts: 62
Joined: Sun Jun 12, 2005 11:32 pm
Location: somewhere in the world
Contact:

Post by mavericku »

Alchera wrote:caesar gave you your answer I believe?
Alchera yes... but my bot doesn't handle BANS only unban once at 10 minutes and limit ... it doesn't have an INTERNAL BANLIST.

i want it to ban everyone who does join/flood...
mavericku
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Have tried and tested AllProtection.tcl (Current Beta: v4.6b5)? Or one of the other channel protection scripts in the Tcl Archive?
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
mavericku
Halfop
Posts: 62
Joined: Sun Jun 12, 2005 11:32 pm
Location: somewhere in the world
Contact:

Post by mavericku »

Alchera wrote:Have tried and tested AllProtection.tcl (Current Beta: v4.6b5)? Or one of the other channel protection scripts in the Tcl Archive?
Alchera, don't want to offend your or anybody else.. but that script is HUGE... i need only that join/flood (from kick, like shown above (first post))

and there are to many variables to modify ... uh God..
i`m not lazy or anything i like doing tcl scripting BUT only where I know ...
i modify scripts to make 'em do what i like but this is too much for me :(

Sorry... :cry:
mavericku
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

I use the very excellent AutoRejoin script from DeKus, which is available here:

http://forum.egghelp.org/viewtopic.php?p=56669

Should not be hard to modify it to 1) Check for the error msg about the channel bans being full and then 2) have it set the ban through X.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

mavericku wrote:
Alchera wrote:Have tried and tested AllProtection.tcl (Current Beta: v4.6b5)? Or one of the other channel protection scripts in the Tcl Archive?
Alchera, don't want to offend your or anybody else.. but that script is HUGE... i need only that join/flood (from kick, like shown above (first post))

and there are to many variables to modify ... uh God..
i`m not lazy or anything i like doing tcl scripting BUT only where I know ...
i modify scripts to make 'em do what i like but this is too much for me :(

Sorry... :cry:
Not offended, but that particular script is highly configurable right down to only doing what you wanted. It was just an example.
Alchera wrote:.... Or one of the other channel protection scripts in the Tcl Archive?
In the meantime, you seemed to have never bothered to search the Tcl Archives at all, let alone these forums.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
mavericku
Halfop
Posts: 62
Joined: Sun Jun 12, 2005 11:32 pm
Location: somewhere in the world
Contact:

Post by mavericku »

rosc2112 wrote:I use the very excellent AutoRejoin script from DeKus, which is available here:

http://forum.egghelp.org/viewtopic.php?p=56669

Should not be hard to modify it to 1) Check for the error msg about the channel bans being full and then 2) have it set the ban through X.
Thank you very much for your help.
mavericku
User avatar
mavericku
Halfop
Posts: 62
Joined: Sun Jun 12, 2005 11:32 pm
Location: somewhere in the world
Contact:

Post by mavericku »

Alchera wrote:
mavericku wrote:
Alchera wrote:Have tried and tested AllProtection.tcl (Current Beta: v4.6b5)? Or one of the other channel protection scripts in the Tcl Archive?
Alchera, don't want to offend your or anybody else.. but that script is HUGE... i need only that join/flood (from kick, like shown above (first post))

and there are to many variables to modify ... uh God..
i`m not lazy or anything i like doing tcl scripting BUT only where I know ...
i modify scripts to make 'em do what i like but this is too much for me :(

Sorry... :cry:
Not offended, but that particular script is highly configurable right down to only doing what you wanted. It was just an example.
Alchera wrote:.... Or one of the other channel protection scripts in the Tcl Archive?
In the meantime, you seemed to have never bothered to search the Tcl Archives at all, let alone these forums.
trust me .. i've checked the tcl archive and i didn't found what i needed.. only flyby scripts .. i've searched the forum with 2 days before i even posted...
i said it earlier and i will say it again .. it's a pleasure to do something on your own .. like a little script .. and trust me .. i would do it .. if I'd knew how to..
it is easy to say .. do that do that .. but from a noob point of view is like : (!*2*!*@**@*!*ASHSA&@) ... no offence again :(

I for one .. i get it really quickly.. if someone shows me ..or has the time to explain everything .....
ehh..
thanks for your help .. i know that i`m not the only one who has asked something... in here..

have a nice day

edited:

except the flyby scripts i found join/part scripts .. that worked but not for me ..

i mean .. the script works only of the person join and PARTS ... not if it gets kicked ...
mavericku
User avatar
mavericku
Halfop
Posts: 62
Joined: Sun Jun 12, 2005 11:32 pm
Location: somewhere in the world
Contact:

Post by mavericku »

done .. solved..

after ive searched for the 5 th time (today) this forum .. and with a little modification .. it's working ...

here is the code ..

Code: Select all

bind flud - join foo
proc foo {nick uhost chan args} {
      regsub {[^@]+} $uhost * uhost
      utimer 1 [list putquick "mode #channel +mr" -next]
      putserv "privmsg X :ban #channel *!*@[lindex [split $uhost @] 1] 1 100 abusive join flood" -next
      utimer 20 [list putquick "mode #channel -mr" -next]
      } 
can someone tell me if it needs any modification or if it has extra "txt" ?

thank you

p.s. Thank you for the original code .. don't remember his name .. but THANK YOU... :mrgreen:
mavericku
Post Reply