Shuffle(): Difference between revisions

From TinyMUX
Jump to navigation Jump to search
Ian (talk | contribs)
No edit summary
 
(No difference)

Latest revision as of 05:55, 17 January 2006

Description

FUNCTION: shuffle(word1 word2 <...wordN[,idelim [,odelim]])

This function shuffles the order of words in a list, returning a random permutation of its elements.

Related Topics: die(), lrand(), pickrand(), rand()

Examples

> say shuffle(foo bar baz gleep)
You say "baz foo gleep bar"


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