Documentation

dicemax

Syntax: %dicemax(d)

return maximum possible value of a 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 %dicemax(2d6+2)



Displays 14.

Add comment

Login or register to post comments