RANDOM NUMBERS
_____
FUNCTION FORMAT
<xt:random from="val1" to="val2"/>
_____
The function will produce a random number between val1 and val2 inclusive
_____
Due to the way the function is cached multiple calls on one page using the same input values will produce the same output.
<xt:random from="0" to="1000000"/> =344345
<xt:random from="0" to="1000000"/> =344345
To cure this add another operator/argument pair the name can be anything I chose X
<xt:random from="0" to="1000000" x="1"/> =363769
Change the value of x to change the output.
<xt:random from="0" to="1000000" x="2"/> =226384
The value of x can be almost anything.
<xt:random from="0" to="1000000" x="aardvark"/> =414959
You can also retrieve values used on the same page by using the same values for x
x="1" =363769
x="2" =363769
x="aardvark" =414959