I'm having trouble implementing a timer. I'll give context.
For Aardwolf mud I want to make a plugin that creates timers for the repop of areas.
I want to be able to call the timers to see how much time is left, and when they fire I want them to report that the area it was timing has repopped.
If possible I would also like them to alert when they have X number of seconds remaining.
------------------------------------------------------------
So far I've been able to use Addtimer() to create them, and I use GetTimerInfo() to retrieve the time remaining on them.
What I'm stuck on is storing the name of the areas they are tracking and then calling that information when they fire.
So yeah, my main problem is implementation and how to go about doing this.
For Aardwolf mud I want to make a plugin that creates timers for the repop of areas.
I want to be able to call the timers to see how much time is left, and when they fire I want them to report that the area it was timing has repopped.
If possible I would also like them to alert when they have X number of seconds remaining.
------------------------------------------------------------
So far I've been able to use Addtimer() to create them, and I use GetTimerInfo() to retrieve the time remaining on them.
What I'm stuck on is storing the name of the areas they are tracking and then calling that information when they fire.
So yeah, my main problem is implementation and how to go about doing this.