|
Mizui Newbie
Joined: 05 May 2010 Posts: 6
|
Posted: Sun May 23, 2010 9:34 pm
HELP: About #waitsignal and #signal |
Hi, I am sort of new to cmud and programming, so this might be a dumb question that somone ask before
I am wondering how does #waitsignal and #signal work.
I notice the #signal cmd, it has a name associate with it; however, the #waitsignal cmd doesn't.
Does it means that #waitsignal will response to all #signal cmd sent?
Let say I have multiple #waitsignal that is waiting for a signal from different output from the mud
and one of them fire a signal ... will all of the #waitsignal trigger at the same time?
Is that a way to specify what kind of signal to fire ... and only a certain #waitsignal will response to it?
In short, is there a way to group #waitsignal and #signal that only a specific signal will fire a specific wait?
Thanks |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Mon May 24, 2010 8:03 pm |
The first argument of #waitsignal is the name of the signal to wait for.
If there are multiple #waitsignal actions waiting for a specific signal, they will each fire, in sequence, in order by priority. |
|
|
|
|
|
|
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
|
|