Random
Random variables generate numbers or pick one option from a list. Defaults can be set in the command response and overridden by command input.
Examples
Section titled “Examples”Wrap options in quotes when they contain spaces.
Variables
Section titled “Variables”| Variable | Use | Example output |
|---|---|---|
{random.int [min/max] [max]} | Generates a random integer. Defaults to 1 through 100; one number sets the max; two numbers set min and max. | 113 |
{random.choice <options...>} | Chooses one option from the provided list. | option 2 |
For example, a command using {random.int 100} can be overridden with !random 123 to generate a number from 1 to 123.