Roll20 Macro Directory

Filter and search.

/roll vs [[ ]]

Beginner

Description

Desc

Code

/roll 1d20+5
<span style="color:#f8fafc">Attack [[1d20+5]]</span>

Guide

Guide

Query

Intermediate

Description

Desc

Code

&{template:default} {{name=?{Action|Attack,�?��?�꺽|Defend,��?�?��???占?}}
{{result=[[1d20+?{Bonus|0}]]}}
<span>&lt;safe-tag&gt; escaped &amp; stable</span>

Guide

Guide

Binding

Advanced

Description

Desc

Code

&{template:default} {{name=Target Scan}}
{{subtitle=@{target|token_name}}}
<span style="display:inline-block;padding:6px 10px;border-radius:6px;background:#1e293b;color:#e2e8f0">HP: @{target|bar1}</span>

Guide

Guide

Roll

Beginner

Description

Paragraph.

Paragraph.

Code

<span style="color:#e2e8f0;font-weight:600">[[1d20+@{selected|dexterity_mod}]]</span> &{template:default} {{name=Dex check (?占��?�??? / ?占��?�???)}}

Guide

Guide

Details

Intermediate

Description

Paragraph.

Paragraph.

Code

<details style="display:inline-block;max-width:100%">
<summary>??GM note</summary>
<p>Hidden read-aloud or roll summary.</p>
</details>

Guide

Guide line

Lists

Intermediate

Description

Paragraph.

Paragraph.

Code

<ul style="list-style:none;margin:0;padding-left:1.1em">
<li style="list-style-type:square;color:#a78bfa">Scene beat</li>
<li style="-webkit-appearance:none;appearance:none;list-style-type:disc">Fallback bullet</li>
</ul>

Guide

Guide line

Logic

Advanced

Description

Paragraph.

Paragraph.

Code

&{template:default} {{name=Inspect}} {{subtitle=@{target|token_name} }}
<span style="display:inline-block;padding:6px 10px;border-radius:6px;background-color:#1e293b;color:#e2e8f0">HP: @{target|bar1}</span>

Guide

Guide line

Whisper

Intermediate

Description

Desc

Code

/w gm &{template:default} {{name=Stealth Note}}
{{roll=[[1d20+@{selected|dexterity_mod}]]}}

Guide

Guide

Emote

Beginner

Description

Desc

Code

/me raises a shield and braces for impact.
<span style="color:#93c5fd">[[1d20+2]] Initiative check</span>

Guide

Guide

As Command

Intermediate

Description

Desc

Code

/as "Ancient Guardian" The gate opens only for the marked.
&{template:default} {{name=Relic Scan}} {{target=@{target|token_name}}}

Guide

Guide