| View previous topic :: View next topic |
| Author |
Message |
Demolution Voice
Joined: 15 Jul 2008 Posts: 3
|
Posted: Tue Jul 15, 2008 5:39 am Post subject: Eggdrop to flood at free will |
|
|
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 |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Tue Jul 15, 2008 6:05 pm Post subject: |
|
|
| 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 |
|
 |
Demolution Voice
Joined: 15 Jul 2008 Posts: 3
|
Posted: Wed Jul 16, 2008 5:58 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Wed Jul 16, 2008 10:01 am Post subject: |
|
|
| 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 |
|
 |
Demolution Voice
Joined: 15 Jul 2008 Posts: 3
|
Posted: Thu Jul 17, 2008 5:36 am Post subject: |
|
|
| i use 'nano' |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Thu Jul 17, 2008 8:44 am Post subject: |
|
|
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 |
|
 |
|