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
jani
Newbie


Joined: 23 Mar 2009
Posts: 3

PostPosted: Mon Mar 23, 2009 11:51 am   

working with #wait
 
ok im using #wait, and theres no problems with the script i wrote using it. but i was wondering is there a certain way to see the timer on the wait? i have it set to wait 2 hours, and would like to look at it to see how long i have left to wait. If not i will show you the script below to see if you can figure something else out.



Code:
#wait 72000000
#echo You may now do another quest.


i appreciate any help i might be able to get.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Mon Mar 23, 2009 12:56 pm   
 
Don't use #wait, it's pretty broken. You want the #alarm command, and the %alarm function to return the time left.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Ithilion
Wanderer


Joined: 02 Sep 2005
Posts: 85

PostPosted: Mon Mar 23, 2009 1:54 pm   
 
Also, one thing, this is the wrong forum. :)
Reply with quote
jani
Newbie


Joined: 23 Mar 2009
Posts: 3

PostPosted: Mon Mar 23, 2009 6:25 pm   
 
ok i switched the command, and #alarm isnt working right... but #wait is... so is there a way for me to see the ammount of time on #wait like i originally asked?
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Tue Mar 24, 2009 10:01 am   
 
No, there isn't, hence the suggestion.

How are you using #alarm? Evidently you're doing something wrong, so show us your code and we'll point you in the right direction :)
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
jani
Newbie


Joined: 23 Mar 2009
Posts: 3

PostPosted: Tue Mar 24, 2009 4:19 pm   
 
Code:
 #alarm 72000000
#echo You may now do another quest.

Code:
 #alarm 72000000 You may now do another quest.


neither code worked for alerting me when the 2 hour period was up.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Tue Mar 24, 2009 5:23 pm   
 
#alarm +72000000 {#echo You may now do another quest}

is what you want. Possibly

#alarm +2:00:00 {#echo You may now do another quest}

will work, but I don't have zMUD installed and can't test that.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
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