egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

command queque

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
roughnecks
Voice


Joined: 14 Sep 2008
Posts: 33
Location: Italy

PostPosted: Fri Apr 10, 2009 10:17 am    Post subject: command queque Reply with quote

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 Wink

PS i'm not so smart with tcl
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Fri Apr 10, 2009 10:58 am    Post subject: Reply with quote

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
View user's profile Send private message
roughnecks
Voice


Joined: 14 Sep 2008
Posts: 33
Location: Italy

PostPosted: Fri Apr 10, 2009 11:30 am    Post subject: Reply with quote

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 Cool
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber