|
choose(val1,val2,val3...) |
|
val1, val2, val3 ... = The things you can choose from, the maximum choices is 16.
choose will return, randomly, one of the values in the brackets. In the following example, the variable whatroom could hold room1 or room2 or room3. It's a way of choosing random from a list of things. The most choices you can have is 16.
Example:
Revision #2 |