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 .
×
Create a free account

Nested Macro Problem

I'm trying to set up a nested dice macro wherein I click one macro, it shows me all the dice options in chat, and then I click the one I want. I got the code from a youtube channel called Taking20 and when I type it in, it works just as I want it to. However, when I click save macro, it's reformatted and no longer works. This is the code I'm typing in:  /w gm [D4](!
#W4)[D6](!
#W6)[D8](!
#W8)[D10](!
#W10)[D12](!
#W12)[D20](!
#W20)[D100](!
#W%) This works great as long as I don't hit save. After I hit save, I get this:  /w gm [D4](! #W4)[D6](! #W6)[D8](! #W8)[D10](! #W10)[D12](! #W12)[D20](! #W20)[D100](! #W%) Any idea why and how I can fix it? 
1519123861
GiGs
Pro
Sheet Author
API Scripter
Are you re-opening it after you hit save? the most common problem is the way roll20 applies html parsing to special characters. If you try saving that macro and clsoing it, then use it without reopening it , does it work?
G G said: Are you re-opening it after you hit save? the most common problem is the way roll20 applies html parsing to special characters. If you try saving that macro and clsoing it, then use it without reopening it , does it work? That did it, thanks. It's been driving me nuts for two days... 
1519136135
GiGs
Pro
Sheet Author
API Scripter
One thing to note: if you can create your macros as character abilities, this parsing doesn't occur.  It's a good idea to create a character, name it something like Macros, and just use it as a place to save original copies of macros, in the Attributes & Abilities tab. You can also use the transmogrifier to copy the originals between campaigns that way, too.
G G said: One thing to note: if you can create your macros as character abilities, this parsing doesn't occur.  It's a good idea to create a character, name it something like Macros, and just use it as a place to save original copies of macros, in the Attributes & Abilities tab. You can also use the transmogrifier to copy the originals between campaigns that way, too. Cheers!