Request for on TIME event - 09/01/18 07:34 PM
A recent script request from a friend got me thinking about a TIME event. His request was to automatically message his channels when different parts of the world hit midnight on new year's eve. He didn't want to start a bunch of timers to do it, which was my suggestion. The event would trigger one time on the arrival of the specified time. I imagine the specified time would be in 24 hour format.
This would trigger at 6pm
This would trigger at 1:31am
Maybe we could also make it accept a variable to make it dynamic.
What do you think? Is it possible?
This would trigger at 6pm
Code:
on *:TIME:1800: { ; do stuff }
This would trigger at 1:31am
Code:
on *:TIME:0131: { ; do stuff }
Maybe we could also make it accept a variable to make it dynamic.
Code:
on *:TIME:%var: { ; do stuff }
What do you think? Is it possible?