| View previous topic :: View next topic |
| Author |
Message |
mavericku Halfop

Joined: 12 Jun 2005 Posts: 62 Location: somewhere in the world
|
Posted: Mon Oct 02, 2006 12:24 pm Post subject: join-flood [SOLVED] |
|
|
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 ) 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: |
*** 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 _________________ mavericku
Last edited by mavericku on Sat Oct 07, 2006 9:50 pm; edited 2 times in total |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Mon Oct 02, 2006 7:15 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
mavericku Halfop

Joined: 12 Jun 2005 Posts: 62 Location: somewhere in the world
|
Posted: Mon Oct 02, 2006 9:58 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
mavericku Halfop

Joined: 12 Jun 2005 Posts: 62 Location: somewhere in the world
|
Posted: Wed Oct 04, 2006 3:29 pm Post subject: |
|
|
nobody? ... please... _________________ mavericku |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Wed Oct 04, 2006 9:37 pm Post subject: |
|
|
caesar gave you your answer I believe? _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
mavericku Halfop

Joined: 12 Jun 2005 Posts: 62 Location: somewhere in the world
|
Posted: Thu Oct 05, 2006 12:37 am Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Thu Oct 05, 2006 2:38 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
mavericku Halfop

Joined: 12 Jun 2005 Posts: 62 Location: somewhere in the world
|
Posted: Thu Oct 05, 2006 1:08 pm Post subject: |
|
|
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...  _________________ mavericku |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Thu Oct 05, 2006 5:38 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Thu Oct 05, 2006 8:22 pm Post subject: |
|
|
| mavericku wrote: |
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...  |
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 |
|
| Back to top |
|
 |
mavericku Halfop

Joined: 12 Jun 2005 Posts: 62 Location: somewhere in the world
|
Posted: Thu Oct 05, 2006 9:00 pm Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
mavericku Halfop

Joined: 12 Jun 2005 Posts: 62 Location: somewhere in the world
|
Posted: Thu Oct 05, 2006 9:05 pm Post subject: |
|
|
| Alchera wrote: | | mavericku wrote: |
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...  |
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 |
|
| Back to top |
|
 |
mavericku Halfop

Joined: 12 Jun 2005 Posts: 62 Location: somewhere in the world
|
Posted: Sat Oct 07, 2006 9:27 pm Post subject: |
|
|
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: |
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...  _________________ mavericku |
|
| Back to top |
|
 |
|