Repository navigation
Reference Triggers Variables
Also on the Cuebot Docs site.
Runs when a global variable is saved for the very first time. Global variables are values Cuebot remembers for all actions, like a death counter.
| Setting | What to put in |
|---|---|
| Variable name | The variable's name without the ~ signs, like "deaths". Empty means any variable. |
| Persisted | Either = both kinds. Yes = only variables that are kept after a restart. No = only temporary ones that vanish when Cuebot closes. Options: Either, Yes, No. Starts as: Either. |
Variables you get
| Variable | What it holds |
|---|---|
%variableName% |
The name of the variable |
%newValue% |
The value it was given |
%persisted% |
Whether it is kept after a restart (true or false) |
Type id: variables.globalCreated
Runs when a global variable is deleted. Be careful with actions that delete the same variable they are listening for.
| Setting | What to put in |
|---|---|
| Variable name | The variable's name without the ~ signs, like "deaths". Empty means any variable. |
| Persisted | Either = both kinds. Yes = only variables that are kept after a restart. No = only temporary ones that vanish when Cuebot closes. Options: Either, Yes, No. Starts as: Either. |
Variables you get
| Variable | What it holds |
|---|---|
%variableName% |
The name of the variable that was deleted |
%oldValue% |
The value it had |
%persisted% |
Whether it was a kept variable (true or false) |
Type id: variables.globalDeleted
Runs when the value of an existing global variable changes. Handy to react to a counter, like a message when the death counter reaches a new number.
| Setting | What to put in |
|---|---|
| Variable name | The variable's name without the ~ signs, like "deaths". Empty means any variable. |
| Persisted | Either = both kinds. Yes = only variables that are kept after a restart. No = only temporary ones that vanish when Cuebot closes. Options: Either, Yes, No. Starts as: Either. |
Variables you get
| Variable | What it holds |
|---|---|
%variableName% |
The name of the variable |
%oldValue% |
What it was before |
%newValue% |
What it is now |
%persisted% |
Whether it is kept after a restart (true or false) |
Type id: variables.globalUpdated
Runs when a variable that belongs to one viewer changes, like their lucky number or their quiz score. Careful: an action that changes the same variable can run itself again.
| Setting | What to put in |
|---|---|
| Variable name | The variable's name, like "score". Empty means any variable. |
| Persisted | Either = both kinds. Yes = only variables that are kept after a restart. No = only temporary ones. Options: Either, Yes, No. Starts as: Either. |
| User login | Only react to this viewer, typed like their chat name, for example "kris". Empty means any viewer. |
| Platform | Only react to viewers on this site, like twitch, youtube, kick or rumble. Empty means any. |
Variables you get
| Variable | What it holds |
|---|---|
%variableName% |
The name of the variable |
%oldValue% |
What it was before |
%newValue% |
What it is now |
%user% |
The viewer's name |
%userId% |
The viewer's id on their platform |
%platform% |
The site the viewer is on, like twitch |
Type id: variables.userUpdated
Cuebot by Tech Daddy Digital · MIT license · Privacy
Cuebot Docs (the same pages, nicer to read)
- Home
- Start here
-
Guides
- Chat commands
- Overlays and alerts
- Writing your own overlay widgets
- Text-to-speech
- Music and now playing
- Points, store and giveaways
- Subathons and goals
- Stream apps and devices
- VTuber apps
- Stream Deck
- The phone app
- Donations and integrations
- Discord bot
- The setup assistant and AI tools
- The assistant on your own computer
- Moving from Streamer.bot
- Cuebot's servers
- Writing code (C# and Python)
- Python in detail
- Using your own code editor
- Controlling Cuebot from other programs
- Backups and your data
- Linux
- Command-line options
- Troubleshooting
- What's experimental
- Reference
