Use these to let a reply pick one of your phrases, draw a number in a range, or name a random chatter.
You type them in the text of a command, an event response, a timer, a pipeline, a Discord notification or a webhook.
Most of the helpers in the first two tables also work in text that viewers write themselves, when Viewer Templates is on in Features. The ones that do not are {random.pick.<a.b.c>}, the dotted number forms, the named rolls, the chatter helpers and {random.quote}; in a viewer’s text they print exactly as typed.
An input goes after a colon and the next input after a pipe |, such as {random.number:10|50}.
A helper with a missing or wrong input, such as a maximum below the minimum, does nothing: it prints exactly as you typed it, braces and all. A helper that takes no input, such as {random.letter}, does the same when you give it one.
A reply that picks one of three phrases and draws a whole number from 1 to 100:
{pick:Pizza|Pasta|Soup} tonight, and you are {random.number:100}% hungry.
Each helper draws again every time a reply is sent, so the examples below show one possible result.
Pick from texts you write
{pick}, {pick.inline} and {random.pick.<a.b.c>} never pick the same item twice in a row for the same text in your channel. The bot keeps that memory only until it restarts.
In a viewer’s own text, {pick} and {pick.inline} are a plain random draw that can repeat.
The memory goes by position, so a text you list twice, such as {pick:yes|yes|no}, can still come out twice in a row.
For a list you edit in one place and use in several commands, use a pick list.
| Helper | What it gives | Example |
|---|---|---|
{pick} | One of the texts: {pick:a|b|c} | {pick:rock|paper|scissors} gives paper |
{pick.inline} | One item of a list split at semicolons, so an item can hold a pipe: {pick.inline:a;b;c} | {pick.inline:red;green;blue} gives blue |
{pick.weighted} | One text, where each text has a weight and a bigger weight is more likely: {pick.weighted:1=rare|9=common}. A weight cannot be below 0 | {pick.weighted:1=rare|9=common} gives common nine times in ten |
{pick.n} | A number of different items, in random order and separated by commas: {pick.n:2|a|b|c}. Asking for more than there are gives them all | {pick.n:2|a|b|c} gives c, a |
{pick.shuffle} | All the texts in a random order, separated by commas | {pick.shuffle:a|b|c} gives c, a, b |
{random.pick.<a.b.c>} | One of the words after random.pick., split at the dots, so a word cannot hold a dot | {random.pick.red.green.blue} gives green |
{chance} | The first text with the chance you give in percent, from 0 to 100, else the second: {chance:10|then|else}. Without a second text, a miss gives nothing. Only the chosen text fills in | {chance:25|You win!|Not this time.} gives Not this time. |
Draw a number or a value
{random.number} gives a whole number. With one input it is 1 up to that number. With two it is the minimum up to the maximum, and a third input is the step between possible numbers.
The minimum can always come out. The maximum comes out only when it sits on the step: {random.number:1|10|4} gives 1, 5 or 9, never 10.
The dotted forms, such as {random.number.100}, take the same numbers. Their difference is reuse: the same dotted text twice in one reply gives the same number both times, while {random.number:100} written twice draws twice.
| Helper | What it gives | Example |
|---|---|---|
{random.number} | A whole number: {random.number:6} is 1 to 6, {random.number:10|50|10} is 10, 20, 30, 40 or 50 | {random.number:6} gives 4 |
{random.number.<n>} | A whole number from 1 up to N | {random.number.100} gives 57 |
{random.number.<min>.<max>[.<step>]} | A whole number from the minimum up to the maximum, with an optional step | {random.number.50.990.10} gives 430 |
{random.decimal} | A number with decimals, from the minimum to the maximum, with the number of decimal places you give, up to 8: {random.decimal:min|max|places} | {random.decimal:1|10|2} gives 4.27 |
{random.percent} | A whole percent from 0% to 100%, with the percent sign | 37% |
{random.bool} | true or false, for a choice inside {if:...} | true |
{random.letter} | A capital letter from A to Z | K |
{random.color} | A color as a hex code with six capital digits | #3FA7D6 |
Use one roll in several places
A named roll draws a whole number once for the reply and keeps it under the name you give, so every mention of that name shows the same number.
Draw it with {roll.<name>.<min>.<max>}, with an optional step at the end, then read it back anywhere in the same reply, before or after the draw.
A read with no draw for that name prints as typed. When you draw the same name twice, the first draw in the text counts.
{random.chatter} is {roll.love.1.100}% in love and {roll.love.complement}% busy. Yes, {roll.love}%.
| Helper | What it gives | Example |
|---|---|---|
{roll.<name>.<min>.<max>[.<step>]} | Draws the named roll: a name, a minimum, a maximum and an optional step | {roll.pct.60.98} gives 73 |
{roll.<name>} | The named roll again | {roll.pct.60.98} and {roll.pct} gives 73 and 73 |
{roll.<name>.complement} | 100 minus the named roll, for two percentages that add up to 100 | {roll.pct.60.98} and {roll.pct.complement} gives 73 and 27 |
Pick a chatter or a quote
The chatter helpers pick from everyone who has sent a chat message since your stream last went live, not from who is watching now.
The list empties when your stream goes live and when the bot restarts. It does not empty when you go offline, so after a stream it still holds that stream’s chatters, plus anyone who chats while you are offline.
When nobody is on the list, {random.chatter} and its two other forms give nothing, while {random.user} gives the name of the person who started the reply, or someone when there is none.
{random.quote} picks one of your channel’s saved quotes, and prints as typed when you have none. To show a quote by its number, use the quote helpers.
These are for a playful pick. For entries, a recorded winner and a claim, use Giveaways.
| Helper | What it gives | Example |
|---|---|---|
{random.chatter} | The display name of a chatter from the list | ViewerOne |
{random.chatter.mention} | The same, with an @ in front, so they get a mention | @ViewerOne |
{random.chatter.notMe} | A chatter from the list, never the person who started the reply | ViewerTwo |
{random.user} | A chatter from the list, with a fallback when the list is empty | ViewerTwo |
{random.quote} | A saved quote with its number, then the person quoted and the day, when the quote has them | #12 "that was close" (ViewerTwo, 2026-03-01) |
Back to Template helpers. For nested helpers, special characters and HTML, read Variables and templates.