random-between
function
The random-between
action generates a random integer between two numbers. It belongs to the random category within the numbers area.
Action Syntax
random-between 123 and 123
A numeric value followed by a value followed by A numeric value
random-between $variable and 123
A variable name starting with $ followed by a value followed by A numeric value
random-between 123 and $variable
A numeric value followed by a value followed by A variable name starting with $
random-between $variable and $variable
A variable name starting with $ followed by a value followed by A variable name starting with $
Return Value
This function returns a
NUMBER
value that can be stored in a variable:
$result = random-between
Examples
// Basic Usage
$number = random-between 1 and 10
Action code: 2112358047
Version: 0.6.4-0
Last updated: 2025-06-13