We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
Advertisement Create a free account

Looking for how to Write A Macro

So the 5e Character sheet has an option to Roll your to hit in a small table, with hte option to expand the Macro if you hit for damage, how do you do that with out a Character sheet from 5e?
Sheet Author
Write a macro that does the attack.&nbsp; Write another macro that does the damage.&nbsp; Include a chat menu link in the first macro to call the second one.&nbsp; Chat menus can be found in the Stupid Tricks thread that is stickied in this forum.&nbsp; The first post is an index (lots of stuff in that thread).&nbsp; Chat menus are here:&nbsp; <a href="https://app.roll20.net/forum/permalink/5927072/" rel="nofollow">https://app.roll20.net/forum/permalink/5927072/</a>
Forum Champion
Marketplace Creator
API Scripter
To find the Ability code that is called from any sheet button, click the button to run the Ability. Then click in the chat input area and press the up arrow key. This will show the code previously sent. You can copy that code into a macro or token ability, and edit it as you like.