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

Saving keep messing up macro.

1587123687

Edited 1587126515
Hello, when i try to save my macro it keeps reverting the html replacements ( "}" back to "}" and" , " back to "," ) when i save the macro and open it again. Here is my code: ?{How many hits?| 1,[[ {1d10+8,1d10+8}kh1 ]]| 2,[[ {2d10+16,2d10+16}kh1 ]]| 3,[[ {3d10+24,3d10+24}kh1 ]]| 4,[[ {4d10+32,4d10+32}kh1 ]]| 5,[[ {5d10+40,5d10+40}kh1 ]]| 6,[[ {6d10+48,6d10+48}kh1 ]] } Thank you for your help.
1587127460
The Aaron
Roll20 Production Team
API Scripter
You can put it in as: ?{How many hits?| 1,[[ {1d10+8,1d10+8}kh1 ]]| 2,[[ {2d10+16,2d10+16}kh1 ]]| 3,[[ {3d10+24,3d10+24}kh1 ]]| 4,[[ {4d10+32,4d10+32}kh1 ]]| 5,[[ {5d10+40,5d10+40}kh1 ]]| 6,[[ {6d10+48,6d10+48}kh1 ]] } In a Macro, each time you edit it, you'll need to change the & to &  Abilities don't have that problem.  You can use a technique we call the Macro Character to make your life easier.
Thanks for the help, i didn't know that i can put it as my character's ability. When i figured it out it made a lot of sense. Thanks again.