egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

my errors in cloneflood.tcl v4.24.b by awyeah
Goto page Previous  1, 2
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
BrewMaster
Voice


Joined: 07 Jul 2007
Posts: 34

PostPosted: Mon Jul 23, 2007 4:31 am    Post subject: Reply with quote

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
View user's profile Send private message
BrewMaster
Voice


Joined: 07 Jul 2007
Posts: 34

PostPosted: Mon Jul 23, 2007 4:36 am    Post subject: Reply with quote

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
View user's profile Send private message
awyeah
Revered One


Joined: 26 Apr 2004
Posts: 1580
Location: Switzerland

PostPosted: Mon Jul 23, 2007 6:00 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
BrewMaster
Voice


Joined: 07 Jul 2007
Posts: 34

PostPosted: Tue Jul 24, 2007 12:10 am    Post subject: Reply with quote

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
View user's profile Send private message
awyeah
Revered One


Joined: 26 Apr 2004
Posts: 1580
Location: Switzerland

PostPosted: Tue Jul 24, 2007 1:46 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
BrewMaster
Voice


Joined: 07 Jul 2007
Posts: 34

PostPosted: Tue Jul 24, 2007 9:47 am    Post subject: Reply with quote

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
View user's profile Send private message
awyeah
Revered One


Joined: 26 Apr 2004
Posts: 1580
Location: Switzerland

PostPosted: Tue Jul 24, 2007 11:19 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Jade
Voice


Joined: 28 Oct 2009
Posts: 8

PostPosted: Tue Dec 01, 2009 3:01 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber