Actions
$r » History » Revision 2
« Previous |
Revision 2/5
(diff)
| Next »
Per Amundsen, 01/31/2019 05:47 AM
Added in 1.9.0
$r(v1,v2)
Returns a random number or letter between v1 and v2.
Same as $rand.
See also $rand.
Parameters
v1 - Start number or letter [0-9A-Za-z].
v2 - End number or letter [0-9A-Za-z].
Example
; Get a random number between 10 and 100. //echo -ag $r(10,100) ; Get a random letter between g and y. //echo -ag $r(g,y)
Updated by Per Amundsen almost 6 years ago · 2 revisions