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 

Eggdrop to flood at free will

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Demolution
Voice


Joined: 15 Jul 2008
Posts: 3

PostPosted: Tue Jul 15, 2008 5:39 am    Post subject: Eggdrop to flood at free will Reply with quote

Hi guys,


I'm trying to figure out how to make the eggdorop bot flood, currently using UnrealIRCD and i've set modes to the bot as +ago - so it can flood without getting "excess flood" quit crap.

Does anyone know where to go from here... i've tried googling and searched on these forums - yet 90% are like anti-spam or anti-flood protection which is fair enough.

I'm just setting up a trivia and i'm afraid the moment it floods lots (i want it to flood), it'll flood quit.

I know this is stupid to ask around here, but i dunno where else to go.


Thanks,

Demolution
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Tue Jul 15, 2008 6:05 pm    Post subject: Reply with quote

Code:
proc putnow { args } {
   putdccraw 0 [expr {[string length [lindex $args 0]] +2}] "[lindex $args 0]\r\n"
}
# uses args and lindex to keep the -next of putquick from causing errors
# it is eliminated as it will be the second lindex position of args. It is also
# no longer possible for -next to be of any use, and is why we eliminate it.
# This allows eggdrop to serve messages instantly without a queue system.
# The expr+2 is to allow room for the newline which may be required on
# some ircds.

Add this procedure to your script and change all PUTQUICK, PUTHELP and PUTSERV to PUTNOW and watch what happens.

Uses information from this post of SirFz's
_________________
speechles' eggdrop tcl archive


Last edited by speechles on Sat Jul 10, 2010 5:07 pm; edited 3 times in total
Back to top
View user's profile Send private message
Demolution
Voice


Joined: 15 Jul 2008
Posts: 3

PostPosted: Wed Jul 16, 2008 5:58 am    Post subject: Reply with quote

Ah, thanks speechles Smile

Got it working, but quite annoying to edit the CONF files, but i guess this is the only way.

Does linux have what windows notepad has - replace "this" with "that"? Makes it much more easier.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Wed Jul 16, 2008 10:01 am    Post subject: Reply with quote

Demolution wrote:
...

Does linux have what windows notepad has - replace "this" with "that"? Makes it much more easier.


Depends on which editor you are using..
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Demolution
Voice


Joined: 15 Jul 2008
Posts: 3

PostPosted: Thu Jul 17, 2008 5:36 am    Post subject: Reply with quote

i use 'nano'
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Thu Jul 17, 2008 8:44 am    Post subject: Reply with quote

nano does have a search'n'replace feature, albeit somewhat hidden.
Default binding is F14 or Meta-R (depending on your terminal setup, this might be Esc-r).
_________________
NML_375, idling at #eggdrop@IrcNET
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 -> Eggdrop Help 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