Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

Embedding Macros

I am attempting to make a macro that will call several of my other macros. The macro in question is :    /w gm ?{Macro|Strength, #SaveStr|Dexterity, #SaveDex|Constitution,#SaveCon|Intelligence,#SaveInt|{Wisdom, #SaveWis|Charisma,#SaveCha} Each of the subsequent macros have pretty much the same code, but when the ^ macro is called and executed it will only output text equal to : #Save___ depending on which of the 6 you choose from. I'm not sure what I am doing wrong. Also using 5e Community Contributed Character Sheet Template. Save Str Code /w gm &{template:default} {{name=Strength Save}} {{ Jake Coolage = [[1d20+@{Jake Coolage|strength_save_mod}]] }} {{ Stam = [[1d20+@{Stam|strength_save_mod}]] }} {{ Eje = [[1d20+@{Eje|strength_save_mod}]] }} {{ Elahu= [[1d20+@{Elahu|strength_save_mod}]] }}
1509905638

Edited 1509905672
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Global macro calls (e.g. #SaveDex) require a space after the macro call, even when they are in a roll query. However, you are going to have another problem once you fix that as the macros are expanded before the roll query is and the roll query will terminate at the first end curly brace, "}", that it encounters. You can attempt using  advanced roll queries to do this, however the global macros will eat the html replacements if you open and resave them. I would recommend using  API Command Buttons (Note: API access not required) to make a chat menu to select which macro to use.