| View previous topic :: View next topic |
| Author |
Message |
BrewMaster Voice
Joined: 07 Jul 2007 Posts: 34
|
Posted: Mon Jul 23, 2007 4:31 am Post subject: |
|
|
thank you. I will make those changes.
Let me know when you have the new version. I would be happy to help you test it.
brew |
|
| Back to top |
|
 |
BrewMaster Voice
Joined: 07 Jul 2007 Posts: 34
|
Posted: Mon Jul 23, 2007 4:36 am Post subject: |
|
|
One thing to consider if your making a new clone/flood script is not only join/part floods but "left" channel floods.
as in nickblahblah has left #somechannel (verry long left channel message)
I don't know the difference in server raw codes, but part and left channel are different in some way because the flood scripts are not catching this type of flood. |
|
| Back to top |
|
 |
awyeah Revered One

Joined: 26 Apr 2004 Posts: 1580 Location: Switzerland
|
Posted: Mon Jul 23, 2007 6:00 am Post subject: |
|
|
That is simple. You just check the length of a part message or if it contains specific words, and then ban that user accordingly.
Example for this script which you can use, use just need to set the length of the text. If the length of the part message text is greater than or equal to 25 (text length does not include spaces), then that person will be banned.
| Code: |
set partmsglen "25"
bind part - "*" ban:partmsg
proc ban:partmsg {nick uhost hand chan text} {
if {[isbotnick $nick] || ![botisop $chan]} { return 0 }
set text [stripcodes bcruag $text]]
if {[string length [string map {" " ""} [stripcodes bcruag $text]]] >= $::partmsglen} {
if {[ischanban "*!*@[lindex [split $uhost @] 1]" $chan] || [wasop $nick $chan]} { return 0 }
putquick "MODE $chan +b-k *!*@[lindex [split $uhost @] 1] Unallowed.part.message" -next
}
}
|
And I don't know what you mean here by raw numerics, but everyone who parts a channel will trigger the part bind, even the bot itself. _________________ ·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
================================== |
|
| Back to top |
|
 |
BrewMaster Voice
Joined: 07 Jul 2007 Posts: 34
|
Posted: Tue Jul 24, 2007 12:10 am Post subject: |
|
|
are quit, part, and left channel all the same action?
I thought quit, part and left channel where different in some way.
Thanks for all the help so far, looking forward to the new cloneflood script.
Have you redone your old channel limit tcl? |
|
| Back to top |
|
 |
awyeah Revered One

Joined: 26 Apr 2004 Posts: 1580 Location: Switzerland
|
Posted: Tue Jul 24, 2007 1:46 am Post subject: |
|
|
The action:
(*) Part is used when a user leaves a channel.
(*) Quit is used when a user disconnects from the server.
*** Left is just another word for part; displayed when a user leaves a channel (displayed on the IRC client, namely mIRC)
Channel limit tcl? I never thought I made one, but I use a modified version of slennox's channel limit script. The timers in his script are only limited to being called in minutes, I changed mine to seconds, so its faster and better (especially for larger channels where you need to check in seconds) and also a bit of code improvement here and there. _________________ ·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
================================== |
|
| Back to top |
|
 |
BrewMaster Voice
Joined: 07 Jul 2007 Posts: 34
|
Posted: Tue Jul 24, 2007 9:47 am Post subject: |
|
|
Thank you for clearing up the part/quit/left channel.
I would be very interested in the Channel limit tcl you modified. I tried to use the slennox one built into netbots but it dont work well for large high traffic channels.
I would also be interested in what type of netset.tcl settings are actually working in the large channels.
thanks again
brew |
|
| Back to top |
|
 |
awyeah Revered One

Joined: 26 Apr 2004 Posts: 1580 Location: Switzerland
|
Posted: Tue Jul 24, 2007 11:19 am Post subject: |
|
|
I'm not sure what netset.tcl does, but anyway I'm pasting the modified slennox chanlimit.tcl in the scripts request section.
Here is the link to the thread:
http://forum.egghelp.org/viewtopic.php?p=74736#74736 _________________ ·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
================================== |
|
| Back to top |
|
 |
Jade Voice
Joined: 28 Oct 2009 Posts: 8
|
Posted: Tue Dec 01, 2009 3:01 am Post subject: |
|
|
Hey Awyeah,
I fixed all the error codes as mentioned in this post, still i am getting this error.
[09:55:55] <bot> [12:00] invalid command name "flyby:reset"
[09:56:16] <BOT> [12:00] Tcl error in script for 'timer635683':
[09:56:17] <BOT> [12:00] invalid command name "flyby:reset"
[12:04] Tcl error [clone:part:chan:type]: can't read "clone_banmask": no such variable
Can you help me in that.
Regards
Jade |
|
| Back to top |
|
 |
|