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.

Warn +f users when they flood

Old posts that have not been replied to for several years.
Locked
H
HecKel
Voice
Posts: 23
Joined: Wed Jan 19, 2005 3:50 pm
Location: Lisbon, Portugal

Warn +f users when they flood

Post by HecKel »

I want to make a tcl that warn +f users whem they flood(chan, kick, join, nick, etc) and say the type of flood, like this:

Lammer, don't flood here (flood type: join flood)

tnks HecKel
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

i dont think that would be that easy, since +f will exclude them from flood control. If you use only intern flood control (not via .tcl) you could set up a user defined flag like +F (case matters) and bind to flud like

Code: Select all

bind flud F|F * friendwarning
. if you return the proc with 1 the bot will not punish the user. read more about return values and binds in... figure what... the documentation :P. however, the user will be punished from any tcl scripts if you remove the real +f (which would be necessary for my suggestion), so you would have to change all one by one to add a special threatment for +F.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

If your +f friends are flooding then maybe you should consider removing their +f flag from them and let them be dealt by the bot.
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
H
HecKel
Voice
Posts: 23
Joined: Wed Jan 19, 2005 3:50 pm
Location: Lisbon, Portugal

Post by HecKel »

If I place anythis like this:

Code: Select all

bind flud F * flood_control
(...)
and an user doesn't had that flag, the egg kicks/ban as usualy?

tnks HecKel
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

no, this will only trigger on +F users.
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

bind flud F
will trigger on floods from persons having global +F
bind flud F|F
will trigger on floods from persons having global +F or channel +F

as people having not +F will not trigger the return 1, they will be normally punished. to make it clear 1 more time: this trigger, trigger only built in floods, not any provided by TCLs like sentinel, repeat, etc.. They need extra editing so far as they are loaded.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
B
Burke
Voice
Posts: 21
Joined: Mon Feb 07, 2005 9:33 pm

Post by Burke »

i read in tcl doc: flags are ignored (bind flud)

for future info why bind flud in not usefull have a look:
http://forum.egghelp.org/viewtopic.php?t=9191
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

I think its small "f" not big "F". Small "f" = friend flag in eggdrops.

You can also use something like this:

Bind on flud. You can use the wildcard "*" for all or specify which type you would want to use, join, ctcp, chan, msg and etc.

Code: Select all

if {[matchattr $hand f|f $chan]} {
     putserv "KICK $chan $nick :flood type: $type flood"
}
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Locked