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


Joined: 10 Jan 2001
Posts: 5
Location: USA

PostPosted: Fri Mar 12, 2004 6:28 am   

timer
 
I play a ROM based mud that has a questing system built into it. When a quest is completed i get this message...

The questmaster says, "Congratulations on completing your quest!"

now I already have this triggered to have the command quest time entered in which replies with this message ...

You aren't currently on a quest.
There are x minutes remaining until you can go on another quest.


whereas x is any random number. I was wondering if there is a way to script this to automatically start the tick counter to count down and notify me when it is almost time to quest again. Any help you can provide would be most appreciated. Feel free to email or post if you need any more information.
Reply with quote
Serentus
Apprentice


Joined: 28 Sep 2001
Posts: 103
Location: USA

PostPosted: Fri Mar 12, 2004 10:17 am   
 
To use the Tick Timer set up a trigger like this

#TRIGGER {There are (%d) minutes remaining until you can go on another quest.} {#TS %eval(%1*60);#Timer 1}

You can set the Timer done commands, and time when the almost done message is sent in the
Wiew->Preferances->General then scroll down the list till you find 'Tick Timer'. This can also be set with parameters to the #TIMER command, the Help file explains it fairly well.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri Mar 12, 2004 10:34 am   
 
It's usually better to do this sort of stuff with the #ALARM command.
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