{random:1-100}
A random whole number in the range.
{random:min-max}
Platforms: Twitch and Kick.
Both ends are included. Negative numbers are fine, and the bounds can be the wrong way round.
Examples
!doubt → There is a {random:1-100}% chance {user} is right about this.
!temp → It's {random:-10-35}°C in the studio today.
!roll → 🎲 {user} rolled a {random:1-{arg:1}}
!coinflip → {if:{random:0-1}==1|Heads|Tails}
Notes
- Either bound can be a variable, as in
!roll 20above. - If the argument isn’t two numbers, the variable stays as typed.