|
Scarn Apprentice
Joined: 24 Jul 2005 Posts: 137
|
Posted: Sun Oct 04, 2015 4:48 pm
Calling tick timer value. |
Hello, my tick timer is configured from my MUDs uptime.
EG..
The Two Towers has been up for 2d 4h 48m 50s.
Timer now at 720 secs.
Roughly speaking the game ticks every 15 minutes, on the 15,30,45 and 60 minute intervals. Once synced my tick timer then resets to 900 seconds at quarter of an hour.
So I can get a bit more use out of this function is there a way I can #CALL how many seconds are left until the next tick?
I know #T? shows me how many, but I can't really use this in a function, lets say an alias broadcasting how many seconds to the next tick.
Cheers,
Scarn |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Sun Oct 04, 2015 6:37 pm |
Not that I am aware of, you just need to make a trigger on the output to capture the value when it is needed.
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
Scarn Apprentice
Joined: 24 Jul 2005 Posts: 137
|
Posted: Sun Oct 04, 2015 6:57 pm |
Yeah, that is what I've done... just means I'll have to use a #WAIT in a sequence to capture it, I don't like using that many #WAIT functions.
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Sun Oct 04, 2015 7:55 pm |
Make use of a #WAITFOR to pull the info?
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
Scarn Apprentice
Joined: 24 Jul 2005 Posts: 137
|
Posted: Sun Oct 04, 2015 11:27 pm |
One step ahead of you! My only dislike of WAIT and WAITFOR is that if something else triggers during the wait, or the build up to the wait, they conflict... or rather make me so something I don't want to do.
|
|
|
|
Scarn Apprentice
Joined: 24 Jul 2005 Posts: 137
|
Posted: Sun Oct 04, 2015 11:29 pm |
I might just make an alarm instead of using the tick timer, I think you can #CALL time remaining on alarms...
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Mon Oct 05, 2015 1:37 am |
Easy enough to do a post test when you do have to wait, but an #ALARM works as well.
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
|
|
|
Scarn Apprentice
Joined: 24 Jul 2005 Posts: 137
|
Posted: Tue Oct 06, 2015 3:20 am |
Jesus how did I miss that. Haha, thanks!
|
|
|
|
|
|