|
xxninjaxx Newbie
Joined: 26 Sep 2004 Posts: 5
|
Posted: 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. |
|
|
|
Dharkael Enchanter
Joined: 05 Mar 2003 Posts: 593 Location: Canada
|
Posted: 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." |
|
|
|
xxninjaxx Newbie
Joined: 26 Sep 2004 Posts: 5
|
Posted: 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.
|
|
|
|
|
|