Core triggers¶
Application started¶
Runs once each time Cuebot finishes starting up. Good for setting your variables, switching a scene or saying hello every time you open Cuebot.
Type id: core.appStarted
Cron schedule¶
Runs on a clock schedule that you write, like every 15 minutes or every day at 8 pm. It uses your computer's local time and is separate from the Timers page.
| Setting | What to put in |
|---|---|
| Cron expression | Five parts with spaces between: minute, hour, day of the month, month, day of the week. A * means every. "*/15 * * * *" is every 15 minutes, "0 20 * * *" is every day at 20:00. Starts as: 0 * * * *. |
Variables you get
| Variable | What it holds |
|---|---|
%expression% |
The schedule text that matched |
%triggeredAt% |
The date and time (to the minute) when it ran |
Type id: core.cron
Timer¶
Runs each time one of your timers goes off. You make timers on the Timers page. Good for a repeating reminder like "follow the channel" every 20 minutes.
| Setting | What to put in |
|---|---|
| Timer | The name of the timer, exactly as it is on the Timers page, like "Social links". Leave it empty to run for every timer. |
Variables you get
| Variable | What it holds |
|---|---|
%timerName% |
The name of the timer that went off |
%interval% |
How many seconds the timer waits between runs |
%chatLines% |
How many chat messages came in since the timer last ran |
%timerId% |
The timer's internal id (rarely needed) |
Type id: core.timer