---
title: "{random:1-100}"
description: A random whole number in the range.
---

```text
{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

```text
!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 20` above.
- If the argument isn't two numbers, the variable stays as typed.
