Basically I have a timer that is counting down, and when it reaches zero it sends a small world.note message to me. It resets itself when a certain trigger runs, all good, no problems.
However, I'd like to be able to make a macro to display a world.note of the remaining time in "Time remaining: Xh, Ym, Zs." format (h-hours, m-minutes, s-seconds). I tried doing this by writing a script to divide the GetTimerInfo (timername, 13) value into its minute and hour sections, and I can calculate it all, but I don't know how to get the macro to call the function, as this is my first delving into the wonders of vbScripting.
Does anybody know of how to call the function from a macro, or is there an easier way to do it that I haven't realised yet?
Cheers,
Maelin
However, I'd like to be able to make a macro to display a world.note of the remaining time in "Time remaining: Xh, Ym, Zs." format (h-hours, m-minutes, s-seconds). I tried doing this by writing a script to divide the GetTimerInfo (timername, 13) value into its minute and hour sections, and I can calculate it all, but I don't know how to get the macro to call the function, as this is my first delving into the wonders of vbScripting.
Does anybody know of how to call the function from a macro, or is there an easier way to do it that I haven't realised yet?
Cheers,
Maelin