ESG Dice Roller
Basic Die Rolls
A basic die roll is written in the form: [N]dS[kT[H|L]]
- N is the number of dice to roll. Default is 1.
- d is the character d (or D).
- S is the number of sides per die.
- k is the character k (or K).
- T is the number of dice to keep. Default is all.
- H or L (or h or l) specify which dice to keep: H means keep the highest dice, L means keep the lowest. Default is highest.
- No spaces are allowed in a basic die roll.
Static Die Rolls
Die rolls can also be constants, which is useful for doing math.
The die roller supports these operators in this order of precedence:
- () for grouping
- ^ for powers
- * / for multiplication and division.
- + - for addition and subtraction.
- You can have spaces between math operators and die rolls/constants.
You can do multiple rolls in two ways:
- Use commas (",") to separate multiple different formulas.
- Add the letter "x" and a number to roll the formula multiple times.
- You can have spaces between formulas and commas, between formulas and the "x", and between the "x" and the number of times to roll.
Other characters will likely cause errors.
Using this roller in Realm Works
- Save this page, using your browser's menu or the context menu for a blank spot on the page.
- Create an HTML Page (Complete) Snippet in your realm and attach the saved page to it.
Should be greatly improved in this version. If you run into problems, let me know at email@example.com.
It'll help if you click "Browser Info" below and then copy the text from the box above as well as the Dice text. Thanks!