The tick counter feature is made to help you with this kind of problems. You can see the counter in the bottom right corner of the main window, you must synchronize it to the MUD with the #tz command to start it.
The best way to do this is to define a few triggers on spell flickering and enviromental messages (day/night/rain...) that force the synchronization through the command #tz, for example:
#action {white aura starts to flicker} {#tz}
#action {day has begun} {#tz}
#action {night has come} {#tz}
Once the counter is activated you will see a warning like this one on the main window:
#10 SECONDS TO TICK!!! |
... 10 seconds before the tick occurs, you can use this warning to activate a trigger, if you don't like to perform your tick actions 10 seconds before tick you can use the #wait command to postpone them, for example:
#action {^#10 SECONDS} {#wait 5000;rest;rem damage-ring;wear regain-ring}