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


Joined: 26 Sep 2004
Posts: 5

PostPosted: Wed Feb 16, 2005 8:31 am   

Idea's and or help?
 
The mud I play has just changed the way the time showed up in the prompt, I had a tick timer (which reset to 30 when the hour changed in the prompt) which I made before hand but with the new prompt which looks like..

<= 100% : 100% : 100% : day =>

The way the ticks come past, starting from 5am.
dawn : 1 tick
day : 5 ticks
noon : 1 tick
day : 5 ticks
dusk : 1 tick
night : 5 ticks
midnight : 1 tick
night 5 ticks

I'm just trying to make / obtain a script that will count the ticks again. Anyone have any idea if something can be scripted for this? If so any help you can provide would be appreciated.
Reply with quote
Dharkael
Enchanter


Joined: 05 Mar 2003
Posts: 593
Location: Canada

PostPosted: Thu Feb 17, 2005 12:04 am   
 
Code:
#REGEX {<= (\d+)% : (\d+)% : (\d+)% : (\w+) =>} {#if (@tickword != %4) {#TZ;#var tickword %4}} "" {prompt}

_________________
-Dharkael-
"No matter how subtle the wizard, a knife between the shoulder blades will seriously cramp his style."
Reply with quote
xxninjaxx
Newbie


Joined: 26 Sep 2004
Posts: 5

PostPosted: Sat Feb 19, 2005 5:22 am   
 
That will only count the changes between the differant day factors, I'm looking for each tick which is aprox 30 seconds, perhaps it could be triggered off my health/mana/move being restored etc while avoid being reset on healing etc.
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