<random>
|
 |
<random> is defined in the Main RXML parser module.
Randomly chooses a message from its contents.
|
|
Attributes
- separator=string
-
The separator used to separate the messages, by default newline.
Example
source code
|
<cset preparse variable=num><random
>1
2
3
4
5</random></cset>
Your random number is <formoutput><number num=#num#></formoutput>.
|
 |
|
result
|
Your random number is two.
|
|
|