Skip to content

Rand command

Alvin Cheng edited this page Feb 12, 2023 · 1 revision

Description

Welcome to the rand command description page! This command will generate a random number based on the inputted parameters! Spicy! This command will take 2 parameters, the first parameter is the limit for the generator, for example, if you input 3, the command will return a random number from 0 to 3. The second parameter is the variable to return the number to, here is a working example!

Example

$NUMBER = (rand <LIMIT>);
Clone this wiki locally