[...] = optional ... = your value [var $... = ]call mt_rand $min=...;$max=...
Code ví dụ:
<!--parser:xtscript-->
var $min = 10
var $max = 20
var $output = call mt_rand $min=$min; $max=$max
print A random number between $min and $max = $output
<!--/parser:xtscript-->