The random library provides a few convenience utilities to generate random content
Returns a random word from the Unix standard dictionary
str = random:word() |
Returns a random quote from www.iheartquotes.com. See the api for possible parameters
qstr = random:quote({"source":"math"}) |
Returns a random photo from google picasa's public api. See the api for possible parameters
str = random:photo({"q" : "kitten"}) |
Generates a UUID
str = random:uuid() |
Note that there is no method for generating a random number. That is available from math:random()