@rand()

This function takes one numeric string argument, N. It returns a random
number from 0 to N-1.

Usage:
@rand("10")