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

Stacking Macros keeps changing

1533515036

Edited 1533515483
So, I have been using the technique by Cody from Taking 20 to make a stacked macro for dice. When I type it all out at first and tested it, it all seemed to be working. The boxes were in the chat, and clickable. However, I opened it up to change the template to the 5e template, suddenly the macros changed. For instance: I put a d20 command as [d20](!
#d20) like normal. I save it, and click on it, and the macro still works with the box there. However, when I go back to edit it, suddenly the macro changed into [d20](!#d20). I activate the stacked macro itself, and the dice roll automatically with no sign of any clickable box. Am I doing something wrong with the macros?
1533517550
Tetsuo
Forum Champion
Did you save it as a macro in the Roll20 macro menu, or as a macro on a sheet in the ability section? If the former, you need to redo the HTML replacements. They revert every time you open the macro. (Note: This is not an issue if you put the macro in the ability section of a sheet.)
I normally put it in the macro menu. what HTML replacements should I use, or which do you recommend?
1533541078
Ziechael
Forum Champion
Sheet Author
API Scripter
Full details can be found here , however you will just need to take your 'broken' macro and change all instances of !# back to !
# :) Once you've saved it as a global macro it will continue to work unless you open it up again, because of this it is advised to keep a copy either externally with the html intact or as a character ability which does not parse the html.