Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Mizui
Newbie


Joined: 05 May 2010
Posts: 6

PostPosted: 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
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: 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.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
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

© 2009 Zugg Software. Hosted by Wolfpaw.net