Shuffle()

From TinyMUX
Jump to navigation Jump to search

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))