Polls sub-actions¶
End chat poll¶
Ends the running chat poll now and announces the result. Good if you want to close a poll early or the poll has no time limit.
Variables it adds
| Variable | What it holds |
|---|---|
%success% |
True if a poll was running and was ended |
%winningChoice% |
The text of the winning choice |
%totalVotes% |
How many votes there were in all |
Type id: polls.end
Lock, resolve or cancel chat prediction¶
Locks a running prediction so no more bets come in, or picks the winner and pays out, or cancels it and gives all bets back.
| Setting | What to put in |
|---|---|
| Do | Lock = stop taking bets. Resolve = pick the winner and pay out. Cancel = give every bet back. Options: Lock, Resolve, Cancel. Starts as: Lock. |
| Winning outcome (to resolve) | Only for Resolve: the winning outcome's number (1, 2...) or its text. |
Variables it adds
| Variable | What it holds |
|---|---|
%success% |
True if it worked |
%pollId% |
The prediction's internal id |
%winningChoice% |
Only after Resolve: the text of the winning outcome |
Type id: polls.prediction
Start chat poll¶
Starts a poll in your chat. Viewers vote by typing the vote command, like !vote 1. Good for "which game next?" moments.
| Setting | What to put in |
|---|---|
| Question | The question, like "Which game next?". |
| Choices | The answers to choose from, one per line, 2 to 10 of them. Viewers vote by typing !vote 1, !vote 2 and so on. |
| Seconds (0: until ended) | How many seconds the poll runs. 0 = until you end it. Starts as: 60. |
Variables it adds
| Variable | What it holds |
|---|---|
%success% |
True if the poll started |
%pollId% |
The poll's internal id |
Type id: polls.start
Start chat prediction¶
Starts a prediction: viewers bet their points on what will happen, for example if you win the next round. Needs Cuebot points to be set up.
| Setting | What to put in |
|---|---|
| Question | The question, like "Will I win this round?". |
| Outcomes | The possible results, one per line, 2 to 10 of them. Viewers bet by typing !bet 1 500 or !bet 2 all (outcome number, then points). |
| Seconds taking bets (0: until locked) | How many seconds viewers can bet. 0 = until you lock the prediction. Starts as: 120. |
| Points currency | The name of the points to bet with, like "Coins". Empty = your normal points. |
Variables it adds
| Variable | What it holds |
|---|---|
%success% |
True if the prediction started |
%pollId% |
The prediction's internal id |
Type id: polls.startPrediction