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.

Eggdrop to flood at free will

General support and discussion of Eggdrop bots.
Post Reply
D
Demolution
Voice
Posts: 3
Joined: Tue Jul 15, 2008 5:35 am

Eggdrop to flood at free will

Post by Demolution »

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
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

Code: Select all

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
Last edited by speechles on Sat Jul 10, 2010 5:07 pm, edited 3 times in total.
D
Demolution
Voice
Posts: 3
Joined: Tue Jul 15, 2008 5:35 am

Post by Demolution »

Ah, thanks speechles :)

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.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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
D
Demolution
Voice
Posts: 3
Joined: Tue Jul 15, 2008 5:35 am

Post by Demolution »

i use 'nano'
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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