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.
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.
Related Articles
- Dice NotationReference for what you can write in a roll formula, such as 4d6kh3, exploding dice, rerolls, groups and math.
- Write a Roll That Judges ItselfAdd vs, under, bands, count, best, margin or beats to a roll so it shows a hit, a degree of success or a count of successes.
- Add Rolls and Fields to a NotePut clickable dice rolls and named values like a character's stats into a note, using the note editor's Insert menu or by typing them.
- Use Fields and References in NotesTurn a note into a character sheet with {{Name = value}} fields, @references in rolls, and depletable pools.
- Roll From a Character SheetHow to make a roll from a sheet, which depends on whether it is a note sheet or a custom sheet.