# Twine Wiki

### Special passage tags

Command disabled: register
harlowe:random

(random: Number, [ Number ]) → Number

This macro produces a whole number randomly selected between the two whole numbers, inclusive (or, if the second number is absent, then between 0 and the first number, inclusive).

#### Example usage:

`(random: 1,6)` simulates a six-sided die roll.