Clone into phpBB/ext/hanelyp/fancydice:
Go to "ACP" > "Customise" > "Extensions" and enable the extension.
Configure dice supported. common nDx+b format supported by default. Use the blank slot to configure additional dice.
Class dicebox is defined by a file under styles. Presentation may include HTML any any combination of the following tags:
Use this if you accidently edit [dice] in the built in bbcode panel.
dice spec examples
3d6 Roll 3 6-sided dice
1d20+12 Roll 1 20-sided die and add 12 The dice spec cannot have spaces in it. You can roll multiple specs at once by separating them with spaces. The spec consists of the following tokens:
{number} A literal number
{string} Text enclosed in quotes
{alpha} A word containing only letters is a macro, which can be a full or partial dice spec.
(spec) A spec inside parenthesis will be evaluated to a single number before other tokens are evaluated.
_ This will evaluate to a list of numbers, from the preceding to the following, inclusive.
[spec] A token will be chosen at random from within this spec.
@ Repeats the following token a number of times equal to the previous token. following token should be {number}, (spec), or [spec].
> This may only be used in macros, and lets the macro pull in the following token.
Other Any other symbol is discarded, but serves to separate tokens