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
Bajed
Novice


Joined: 15 Aug 2004
Posts: 33

PostPosted: Sat Apr 23, 2005 6:33 am   

How would I make a 0.5 second alarm?
 
I've tried *0.5 to make an alarm fire every half second, but this doesnt seem to work well, whereas *1 works fine for one second, what is the proper way to make an alarm fire every half second?

Thanks
Reply with quote
...{chris}...
Novice


Joined: 11 Apr 2005
Posts: 31
Location: Yucaipa, Ca

PostPosted: Sat Apr 23, 2005 1:55 pm   
 
I dont think there is a way to do this. I've noticed before people saying #ALARM works only with positive, whole integers (1, 2, 3, 4, ...). The #WAIT command however can be used for fractions of a second. Remember that #WAIT works as 1000 = 1 second. So remember:
#wa 250 - 1/4 of a second, or .25
#wa 500 - 1/5 of a second, of .5
so on so forth.
Hope this helped a little.

-Chris
_________________
My signature is better than yours.
Reply with quote
Theragil
Apprentice


Joined: 13 Feb 2004
Posts: 157
Location: USA

PostPosted: Sat Apr 23, 2005 2:11 pm   
 
I've had #alarm {+0.5} work just fine, but I never tried with a * syntax.
Reply with quote
atreus
Beginner


Joined: 22 Mar 2005
Posts: 21

PostPosted: Mon May 02, 2005 10:09 am   
 
...{chris}... wrote:
So remember:
#wa 250 - 1/4 of a second, or .25
#wa 500 - 1/5 of a second, of .5


Umm, I believe #wa 500 equals 1/2 of a second, not 1/5 (which would be 200ms or #wa 200).

Just a sidenote.

.atr.
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