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 

on PVT flood NOtice/Msg .+ignore *!*@*.*

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
Thanhas
Op


Joined: 02 Sep 2006
Posts: 124
Location: Ottawa, Canada

PostPosted: Sun Aug 02, 2009 1:14 am    Post subject: on PVT flood NOtice/Msg .+ignore *!*@*.* Reply with quote

Hello,

i am using Dalnet and i am Founder of #Chataway channel
people have pain in ass doing flood on my Channel but its fine BOTs can control it. but when the flood Gose to PM of bot it give hard time which is "Exceed Flood" what i need is on notice/msg flood to the PM of BOT it shuold do ignore Global msges/notices .+ignore *!*@*.* and after x minute .-ignore *!*@*.*

Thanks in advance.

Best Regards
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Sun Aug 02, 2009 12:19 pm    Post subject: Reply with quote

I would think the flood-msg settings would be enough to prevent this, and the eggdrop should ignore the flooder anyway.

Quote:
set flood-msg <messages>:<seconds> - Set here how many msgs in how many seconds from one host constitutes a flood. If you set this to 0:0, msg flood protection will be disabled

_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
Thanhas
Op


Joined: 02 Sep 2006
Posts: 124
Location: Ottawa, Canada

PostPosted: Sun Aug 02, 2009 12:28 pm    Post subject: Reply with quote

NO when 300 nicks come to flood it wont help i need such thing if any buddy have time make for me i dontmind if it take a week Razz

Tanks
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Daedalus
Voice


Joined: 27 Jun 2007
Posts: 24

PostPosted: Sun Aug 02, 2009 5:22 pm    Post subject: Reply with quote

Thanhas wrote:
NO when 300 nicks come to flood it wont help i need such thing if any buddy have time make for me i dontmind if it take a week Razz

Tanks


Doesn't dalnet have a way of throttling joins?
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Sun Aug 02, 2009 6:38 pm    Post subject: Reply with quote

Code:
bind flud - * silence:flud
proc silence:flud {nick host hand type chan} {
 if {![string equal -nocase "pub" "$type"]} {
  putquick "SILENCE +*" -next
  timer 3 [list putserv "SILENCE -*"]
  return 0
 }
}
I dont know if this will work for the notice flood, but everytime there is a flood (i.e msg flood) that is not on the channel (aka a text flood) the bot will send /silence +* and remove it after 3 mins, take from Dalnet Help Desk
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
Thanhas
Op


Joined: 02 Sep 2006
Posts: 124
Location: Ottawa, Canada

PostPosted: Mon Aug 03, 2009 12:25 am    Post subject: Reply with quote

TCL_no_TK wrote:
Code:
bind flud - * silence:flud
proc silence:flud {nick host hand type chan} {
 if {![string equal -nocase "pub" "$type"]} {
  putquick "SILENCE +*" -next
  timer 3 [list putserv "SILENCE -*"]
  return 0
 }
}
I dont know if this will work for the notice flood, but everytime there is a flood (i.e msg flood) that is not on the channel (aka a text flood) the bot will send /silence +* and remove it after 3 mins, take from Dalnet Help Desk



Good try thank you but there are alot of people who know how to make for notice too and my aim is just IGNORE +* on Private/Notice and Private/Msg not on channel flood for channel flood i have All Protetion4.5 TCL. i need Prrivate Protection. when someone flood on his PM he try ignoring one by one IPs of flooder which cases excced flood i need one PM flood ignore *!*@*.* for x minutes

Thankyou
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Mon Aug 03, 2009 1:07 pm    Post subject: Reply with quote

All Protetion4.5 TCL last time i checked has personal protection for eggdrop, that includes setting usermodes on the eggdrop client to protect it when its flooded. Idea
Arrow the /silence +* will tell the server to ignore all private messages/notices Smile and shouldn't change whats seen on the channel by eggdrop. (dont quote me on that, dont use dalnet)
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
Thanhas
Op


Joined: 02 Sep 2006
Posts: 124
Location: Ottawa, Canada

PostPosted: Mon Aug 03, 2009 1:10 pm    Post subject: on PVT flood Notice/Msg .+ignore *!*@*.* Reply with quote

Thank you but my Topic is still open anyhow if is not possible make itsnick chnage? if any one flooded x lines change nick it self?

but ignore will work more.

Thanks
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Tue Aug 04, 2009 7:47 am    Post subject: Reply with quote

RE: eggdrop's ignore feature

Adding *!*@* (or any ignore) to eggdrop's ignore list, will cause the bot to ignore alot more than just Private Messages/Notice. Which is why i wrote it to issue a /silence for all hosts.

To get the eggdrop to change nickname's on a flood thou, you could change the following lines
Code:
  putquick "SILENCE +*" -next
  timer 3 [list putserv "SILENCE -*"]
to this
Code:
  putquick "NICK $::altnick" -next
  timer 3 [list putserv "NICK $::botnick"]
and add the following line
Code:
 global botnick altnick
below
Code:
proc silence:flud {nick host hand type chan} {


RE: origional topic

It may be possible to creat a simple flood control going from the raw bind of PRIVMSG & NOTICE, and getting eggdrop to return 1 if the flood control is triggered. This will cause eggdrop not to process these events (would be a shot in the dark to assume that this will casue eggdrop to not get flooded.) As the Docs said thou,
Quote:
If the proc returns 1, Eggdrop will not process the line any further (this could cause unexpected behavior in some cases).


Source: http://www.eggheads.org/support/egghtml/1.6.19/tcl-commands.html#binda

Do you use sentinel.tcl (spell) TCL Script by slennox? i belive this has a great feature for protecting the eggdrop againsts "private" floods, thats simlar to the possible "work around" mentioned above.
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
Thanhas
Op


Joined: 02 Sep 2006
Posts: 124
Location: Ottawa, Canada

PostPosted: Fri Aug 14, 2009 7:28 am    Post subject: Reply with quote

Thank you Razz

so nice of you
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
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