Timers sub-actions¶
Get timer state¶
Looks up a timer from the Timers page and tells you if it is on, how often it runs and how long until it goes off next.
| Setting | What to put in |
|---|---|
| Timer | The timer's name, exactly as on the Timers page. The default %timerName% is the timer that started this action. Starts as: %timerName%. |
Variables it adds
| Variable | What it holds |
|---|---|
%timerEnabled% |
True if the timer is on |
%timerInterval% |
How many seconds the timer waits between runs |
%timerSecondsRemaining% |
Seconds until it goes off next (-1 if it is not counting down) |
%timerRepeat% |
True if the timer repeats |
%timerChatLines% |
How many chat messages came in since it last ran |
%timerStateName% |
The timer's name |
Type id: timers.getState
Set timer state¶
Turns a timer from the Timers page on, off or flips it, and can change how often it runs. Handy to speed up reminders when chat is busy. Not saved after a restart.
| Setting | What to put in |
|---|---|
| Timer | The timer's name, exactly as on the Timers page. |
| State | Enable turns it on. Disable turns it off. Toggle switches it to the opposite. No change leaves it as it is. Options: No change, Enable, Disable, Toggle. Starts as: Enable. |
| Interval (seconds) | A new wait between runs in whole seconds, like 600 for 10 minutes. Empty keeps the current time. |
Type id: timers.setState