| View previous topic :: View next topic |
| Author |
Message |
roughnecks Voice
Joined: 14 Sep 2008 Posts: 33 Location: Italy
|
Posted: Fri Apr 10, 2009 10:17 am Post subject: command queque |
|
|
Hi, i have a script that gives info about my bot in this way:
| Code: | | putquick "PRIVMSG $nick : Aiuto sui comandi del bot " |
The problem is that if two or more users ask for the help typing the relative command, the bot gives the info first to one user and then awaits for the script to end before giving the same info to the second user, creating a queque.
I.E., if there are many people onchan this is quite annoying for one to get help.
Is there anything to try, maybe in a different way of doing it ?
Thanks
PS i'm not so smart with tcl |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Fri Apr 10, 2009 10:58 am Post subject: |
|
|
Since eggdrop is not multithreaded, this can't be avoided.
While one script invocation is running, no other triggers will be processed (instead queue'd). I'd suggest you look into why your script apparently takes such long time to complete.. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
roughnecks Voice
Joined: 14 Sep 2008 Posts: 33 Location: Italy
|
Posted: Fri Apr 10, 2009 11:30 am Post subject: |
|
|
before all, thank u.
the reply is simple enough for me:
the help scripts gives a list of all the tcl commands loaded on my eggdrop and each message is a putquick, and they are clearly too many.
I' m going to work on it, trying to reduce the number of putquicks.
Bye  |
|
| Back to top |
|
 |
|