I recommend checking out the official character sheet thread , specifically page 11 has some prime examples of Trick Attack macros. There are also many other helpful tips in the thread from the community to help your game run smoothly. For more information about macros in general you can check out the Roll20 Help Center . _ To answer your question more directly, the macro you posted is basically grabbing certain fields of the character sheet and plugging them into the formula. Fields are referenced by "@{field_name}". If you hover your cursor over the various fields on the character sheet, you can see the reference name for each field. Example: Hover your cursor over your Stealth score (the number), and you'll see "@{stealth}" appear near the cursor. So if you are using Stealth as your Trick Attack skill, you would put Trick Attack: [[1d20+@{stealth }]] . This will roll a d20 and add your Stealth score to the roll. Your example macro is actually more complicated than it needs to be because it's manually adding together each individual part of the skill score, which the sheet does automatically. Hopefully that's enough to get you started with macros. They're very powerful and very useful. Good luck, and happy Starfinding!