Rand (MPI)
From Tapestries MUCK
(Difference between revisions)
Line 1: | Line 1: | ||
- | [[Category:MPI functions]] | + | [[Category:MPI functions]][[Category:MPI Property Handling]] |
=rand= | =rand= | ||
<mpi>{rand:listname} | <mpi>{rand:listname} |
Revision as of 16:18, 30 March 2007
rand
{rand:listname} {rand:listname,obj}
Returns the value of a randomly picked list item from a property based list.
If no obj parameter is given, then it looks down the environment from the trigger object for the list. Otherwise, it looks down the environment from the given object.