in partyline or DCC chat to check how much of the bot's queue is full, else clear it.
queuesize [queue]
Returns: the number of messages in all queues. If a queue is specified, only the size of this queue is returned. Valid queues are: mode, server, help.
clearqueue <queue>
Description: removes all messages from a queue. Valid arguments are: mode, server, help, or all.
Returns: the number of deleted lines from the specified queue.
You can maybe make a small tcl script based on a timer executing continuously after a defined interval of time, checking if the queue has not exceeded the maximum limit, if it has clear it, else leave it as it is.
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee) PS: Guys, I don't accept script helps or requests personally anymore.
==================================
awyeah wrote:
You can maybe make a small tcl script based on a timer executing continuously after a defined interval of time, checking if the queue has not exceeded the maximum limit, if it has clear it, else leave it as it is.
bad idea for bots that are not supposed to skip reacting on important events; instead of using lame scripts and implementing this, use good scripts and you won't need this
what kind of channel do you run? how come your bot had 300 msgs queued? you got flooded by alien botnet, you have output binds onjoin, your bot runs lengthy non-IRC operations or what?
Umm well.. my bot also sometimes gets that warning, however. If it is occassionaly suppose on a flood attempt, then that can be considered okay, else if it happens frequently then you should try reducing the binds and amount of data being sent to the server, because it it happens alot your bot can get Excess Flood off the server for sending too much data within a less amount of time.
By the way it can also occur if your bot is lagged, supponsingly when someone is packeting/dossing it or your shell server's bandwidth has decreased significantly within a short period of time.
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee) PS: Guys, I don't accept script helps or requests personally anymore.
==================================