dice
Syntax: %dice(d)
return a random dice roll from the dice d. Dice have the format xdy where x is the number of times to roll and y is the number of sides on the dice. An optional +n or -n may be appended to the dice.
Example:
#ECHO %dice(2d6+2)
Displays a random number from rolling two six-sided dice and then adding 2 to the result.