Add Roll Buttons to Notes and Chat

Write {{2d6}} in a note or chat message to make a clickable roll button, add a label, and know why an @ roll shows as braces in chat.

Works on the web and on iPhone and iPad.

Wrap a roll in double braces and it becomes a button anyone at the table can press. This works in notes and in chat messages.

{{2d6}}              rolls 2d6
{{d20+5}}            a d20 with +5
{{4d6kh3|Ability}}   a labeled roll

Pressing the button throws the dice on the tray and posts the result to the chat.

For where to type rolls in a note and how they look there, see Add Rolls and Fields to a Note.

Labels

Add | and a label to name the roll. The label replaces the formula on the button.

{{2d6+2|Longsword Damage}}
make a DC {{d20+3 vs 15|15}} Wisdom save

The second example uses a label as a single word inside a sentence. Without a label, the button shows the whole resolved roll, for example d20 + 5 vs 15. Use a bare roll unless the sentence around it does not already say what it is for.

Add a check

A roll can judge itself. Add vs, under or bands:

{{d20+5 vs 15}}
{{d100 under 45}}
{{2d6+1 bands ..6:miss, 7..9:partial, 10..:full}}

See Write a Roll That Judges Itself.

Rolls with @ work in notes, not chat

In a note, a roll can read a named value from the same note, such as {{d20 + @Might}}. That is how a note becomes a character sheet: Use Fields and References in Notes.

A chat message has no values to look the name up in, so a roll containing @ is left on screen as literal braces. In chat, write the number itself: {{d100+10 vs 100|Perception}}.

Roll buttons from the AI GM

The AI GM writes roll buttons into its messages. They appear as dice under the message. If you have a draft in the chat box when you press one, the draft is sent with the roll.

Notation

For everything a roll can contain, see Dice Notation.