Lrand()

From TinyMUX
Revision as of 05:54, 17 January 2006 by Ian (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

FUNCTION: lrand(lower,upper,count,[,output delim])

Returns a list with count elements separated by output delim (or a space if not specified) of random numbers between lower and upper.

Related Topics: die(), lnum(), pickrand(), rand(), shuffle()

Examples

Generate five random numbers between 3 and 6
> say lrand(3, 6, 5)
You say, "5 3 4 6 3"

(--Soylent 01:21, 3 December 2005 (EST))