@RANDOM[min, max]:  Returns a pseudo random integer value between min and max, inclusive. The random number generator is initialized from the system clock the first time it is used after TCC-RT starts and will therefore produce a different sequence of numbers each time you use it. The maximum range between min and max is a signed 64-bit integer.

 

Examples:

 

echo %@random[0,1]

0

 

echo %@random[-10,10]

7

 

echo %@random[-10,10]

9

 

echo %@random[-10,10]

-6