From the help tutorial menu: Using a variable with a Macro If you'd like to use a variable modifier with your macro roll, simply end the macro command with the modifier, and then specify it when calling your macro Example If I want a macro for 1d20+x ( where x is my variable value ) I could create the following macro: #d20 /roll 1d20+ then, when running the macro, type #d20 4 to get /roll 1d20+4 I made a macro that looks like this: /desc The fierce ogre lunges, spear in hand! /gmroll d20+14+ /gmroll d8+13
/gmroll d20+9+
/gmroll d8+13 I was hoping that the macro would perform as normal unless I added in a number at the end when starting it. Ie it would treat the open + as a zero. Instead I find that the macro disregards all math in the line with the open + and just rolls the dice as requested. Is there any way to make it treat the open + as a zero unless otherwise specified? I was hoping to use the variable to enter ad-hoc bonuses like flanking or short-duration buff spells without adding them to the attack macro.