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 .
×

Nesting macro not working

1587505227

Edited 1587565125
I have been trying to set up some nesting macros, but i don't seem to get it to work. I've watched videoes on how to get it to work, but they don't seem to work. I have gotten the boxes to appear, but when i click them, they don't seem to work, they don't roll the dice (if i do the individual Macro, they still work fine) The code i've been trying to use looks like this: /w gm &{template:default} {{name=Dice}} {{Dice= [Advantage](!#GM-roll-advantage) [Disadvantage](!#GM-roll-disadvantage) [Damage](!#GM-damage) [D20+Mod](!#GM-roll-D20+mod)}} It would be nice if any of you could help me edit: thanks GiGs and Mark for helping me out
1587506263
GiGs
Pro
Sheet Author
API Scripter
You need to add the code of the html entities as described here:&nbsp; <a href="https://wiki.roll20.net/API:Chat#Entering_API_Buttons_In_Chat" rel="nofollow">https://wiki.roll20.net/API:Chat#Entering_API_Buttons_In_Chat</a> /w gm &amp;{template:default} {{name=Dice}} {{Dice= [Advantage](! &amp;#13; #GM-roll-advantage) [Disadvantage](! &amp;#13; #GM-roll-disadvantage) [Damage](! &amp;#13; #GM-damage) [D20+Mod](! &amp;#13; #GM-roll-D20+mod)}} Be vary careful about this: once you save the macro and close it, do not reopen it or those characters will disapear.
1587506388

Edited 1587506606
Jonathan A. said: I have been trying to set up some nesting macros, but i don't seem to get it to work. I've watched videoes on how to get it to work, but they don't seem to work. I have gotten the boxes to appear, but when i click them, they don't seem to work, they don't roll the dice (if i do the individual Macro, they still work fine) The code i've been trying to use looks like this: /w gm &amp;{template:default} {{name=Dice}} {{Dice= [Advantage](!#GM-roll-advantage) [Disadvantage](!#GM-roll-disadvantage) [Damage](!#GM-damage) [D20+Mod](!#GM-roll-D20+mod)}} It would be nice if any of you could help me The macro's in your example above are those global macros you have created, or macros that are on individual character sheets?&nbsp; If the are global the names have to match exactly. I do not see anything that is incorrectly formatted to my knowledge off hand. If the individual global macros exist and run separately, are you by chance using /talktoself? Though that shouldn't stop a macro from running? I would check for space in the global macros you created in the names as that might be whats happening. Edit: And Gig's beat me to it, the HTML formatting. If you have that in a global macro once it works do not open it again or you would need to html again. Best thing to do is create it so it works. then save it an a character ability so if you do need to change it, you do not need to change all of it all over again.