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
D0nut
Beginner


Joined: 04 Jul 2007
Posts: 23

PostPosted: Wed Jul 04, 2007 4:21 pm   

#wait syntax?
 
Hi, I need some help. In this trigger I'm trying to make I insert #wait between some commands, except the delay lasts only 2-3 seconds. I tried typing, say, #wait 5s but that doesn't work, can someone tell me the proper syntax? I want to manipulate the time delay.
Reply with quote
forren
Novice


Joined: 26 Apr 2007
Posts: 44

PostPosted: Wed Jul 04, 2007 4:27 pm   
 
It's in Milliseconds, so it would be #WAIT 4000.

Just use #ALARM though - #ALARM "namehere" +4 {yourcommandshere}
Reply with quote
D0nut
Beginner


Joined: 04 Jul 2007
Posts: 23

PostPosted: Wed Jul 04, 2007 5:05 pm   
 
Oh I see, thanks.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Wed Jul 04, 2007 11:13 pm   
 
Is this for dealing with some sort of queue problems (ie, inputting too many commands at once) or just something like waiting for roundtime to end so that your commands will go through instead of bouncing back error messages?

Depending on the task to be handled, you might be better served by adding a wait-state condition to your trigger instead of using an alarm. A wait-state basically takes all of the #WAIT functionality and puts it into a trigger form without having any of the problems that #WAIT does.
_________________
EDIT: I didn't like my old signature
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