Total players online: 14



Take the Tour | Site Map

Name

random — Returns a random number within a given range.

Synopsis

call subs.txt random { lower } { upper } [ return ]

Author

WarLocke

Parameters

Table 50. random parameters

NameDescription
lowerLower value
upperUpper value
returnName of return value ('return' by default).

Description

Returns a random number within a given range. Note: %2 must be greater than %1.

Returns

@%3 is random number between lower and upper.