random (between|from) %min:INT% (to|and) %max:INT% — Expressions

random (between|from) %min:INT% (to|and) %max:INT%
random %min:INT% to %max:INT%
Math1.0.0

Description

Returns a random integer between min (inclusive) and max (inclusive).

Examples

set roll to random 1 to 6
set rx to random between 0 and 100
set n to random from low to high
Analyzing pattern:

All Possible Usages (4)

Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.

random between <min> to <max>
random from <min> to <max>
random between <min> and <max>
random from <min> and <max>

Related (Math)