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.

my errors in cloneflood.tcl v4.24.b by awyeah

Support & discussion of released scripts, and announcements of new releases.
B
BrewMaster
Voice
Posts: 34
Joined: Sat Jul 07, 2007 8:26 am

Post by BrewMaster »

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
B
BrewMaster
Voice
Posts: 34
Joined: Sat Jul 07, 2007 8:26 am

Post by BrewMaster »

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.
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

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: Select all

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.
==================================
B
BrewMaster
Voice
Posts: 34
Joined: Sat Jul 07, 2007 8:26 am

Post by BrewMaster »

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?
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

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.
==================================
B
BrewMaster
Voice
Posts: 34
Joined: Sat Jul 07, 2007 8:26 am

Post by BrewMaster »

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
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

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.
==================================
J
Jade
Voice
Posts: 8
Joined: Wed Oct 28, 2009 3:58 am

Post by Jade »

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
Post Reply