There are extra packages called "addons" and they are available for free at the technical data. There is the "expansion addon" with the VAL3 command "rand()":
Here the explanation:
Quotenum $rand(), num $rand(num seed)
This instruction returns a pseudorandom number n with 0<=n<1. The seed argument reset the
pseudorandom sequence. This allows computations to be repeated.