-
Notifications
You must be signed in to change notification settings - Fork 0
roll
The /roll command rolls n x-sided dice, where n is the number of dice to roll and x is how many sides each die should have. The n argument is optional, and any number is accepted (even dice that do not exist). If you would like to reroll 1s, add r1 after the dice to roll. If you would like to add or subtract a value after rolling, add the desired operation to the end of the command. Critical fails (including those rerolled) are underlined, while critical successes are displayed with bold digits. You may roll at most 10 dice at once, with at most 100 sides each.
Emergency Stop: If rerolling is enabled and a roll fails to produce at least a 2 after ten tries, the rerolls will be stopped to avoid timing out. If this happens, the roll will be assigned a random value of at least 2, highlighted in underlined italic digits, and a note explaining this will be printed under the results.
Usage:
/roll d6 rolls one 6-sided die.
/roll d69 rolls one 69-sided die.
/roll 2d4 rolls two 4-sided dice.
/roll 3d20r1rolls three 20-sided dice and rerolls 1s.\n/roll 5d12+4 rolls five 12-sided dice and adds 4 to the result.
/roll 3d4r1-2 rolls three 4-sided dice, rerolls 1s, and subtracts 2 from the result.