Eggheads: Removing queue delays completely.

Richard Brooklyn ribs at riblet.plus.com
Fri Dec 30 13:55:29 CST 2005


Hi,

I guessed it would be better to ask this sort of question on a mailing
list than on IRC...

My query is somewhat an unusual one. Some of my bots sit on a server
which I administer. Therefore, they have unusual powers granted to them
in the way of flood control. The bots are completely exempt. They can
send megabytes of text to the server if they want, and get away with it.

Of course, this presents a somewhat unusual problem. Eggdrop queues it's
outgoing messages, which is okay. But once the queue hits more than
three lines or so, the eggdrop starts to delay processing the next item
in the queue. This makes perfect sense on a normal server, but where the
eggdrop is exempt for flood rules, it presents a problem.

Even when using putquick in a tcl script, I still get the same issue,
which is to be expected.

I know I can change the length of the queue in the bot's .conf file, but
I cannot change the delay via set variables (or can I?). So, as I
understand it, I'd have to edit or patch the source somehow.

I can't code C at all. Looking at the source gave me a headache. The way
I understand it, I'd have to edit the irc module's code. I found various
references to the queue length in there, but not delaying processing.

So, my questions are; How can I go about removing the queue delay that
eggdrop imposes? Would it be feasible to add this feature (as a variable
in the .conf) to the next version of eggdrop before the RC comes out in
January?

Regards,
Ribs.



More information about the Eggheads mailing list