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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
arturweb
Newbie


Joined: 04 Feb 2003
Posts: 4
Location: Falkland Islands

PostPosted: Tue Feb 04, 2003 12:16 pm   

Clear command buffer command in zMud
 
Is there a command that will clear the command buffer. For example before to pu before #WA command to clear the previous wait?
Reply with quote
arturweb
Newbie


Joined: 04 Feb 2003
Posts: 4
Location: Falkland Islands

PostPosted: Tue Feb 04, 2003 12:17 pm   
 
And sorry for the double post )
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Tue Feb 04, 2003 12:41 pm   
 
You shouldn't be using #WAIT at all, but doing #WAIT 0 should cancel any wait pending.

Kjata
Reply with quote
arturweb
Newbie


Joined: 04 Feb 2003
Posts: 4
Location: Falkland Islands

PostPosted: Tue Feb 04, 2003 12:44 pm   
 
Why I shouldnt be using wait?
(Forgive me for I am new with zMud =)
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Tue Feb 04, 2003 12:54 pm   
 
Well, it can cause some unwanted side-effects:

quote:

NOTE: The WAIT command can cause processing of any other active WAIT command to halt. Do not use nested WAIT commands. Do not use the WAIT command in a trigger if the same trigger might fire again before the WAIT is complete. In general, you should try to use the #ALARM command instead of using #WAIT.



It is also explained in more detail in this article.

Generally, almost anything that you want to do that you think you need a #WAIT to accomplish, can be done by using alarms.

Kjata
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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