Skip to main content

Random Numbers

Generate random values for varied behavior in macros.

Random Integer

Generates a random whole number between two limits (inclusive).

Example: Random wait time between 1 and 5 seconds.

Random Fraction

Returns a random decimal number between 0.0 (inclusive) and 1.0 (exclusive).

Usage: Useful for probability checks (e.g., "If random fraction < 0.3" -> 30% chance).