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


Joined: 21 Jul 2005
Posts: 13
Location: Encinitas, CA

PostPosted: Thu Jul 21, 2005 8:55 pm   

Can you write a "timed" script?
 
Hi there,

Is it possible to write a script that will execute a command ever x minutes?

If so, would you be so kind as to show me how to do it, because I'm a total novice at programming this sort of thing.

Thanks,
Mark
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Thu Jul 21, 2005 9:15 pm   
 
#ALARM duration {script}

Duration can be as follows:

-h:m:s -- deals with connection time, I believe (iterative duration plus pausing while offline?)
+h:m:s -- temporary, only fires one time and then deletes itself
*h:m:s -- iterative duration, ie, *6 = every 6 seconds
h:m:s -- specific time of day, ie 5:34 = 5:34 AM and 5:34 PM
_________________
EDIT: I didn't like my old signature
Reply with quote
mdvbilt
Beginner


Joined: 21 Jul 2005
Posts: 13
Location: Encinitas, CA

PostPosted: Thu Jul 21, 2005 9:26 pm   timed scripts
 
Great, I'll try that!

Thanks,
Mark
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