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

This Macro Used to Work

I'm stuck on a macro debug, something that did work:  &{template:default} {{name=Roll thy funky. . . }} {{DOOM DICE=[d3](!#d3) [d4](!#d4) [d5](!#d5) [d6](!#d6) [d7](!#d7) [d8](!#d8) [d10](!#d10) [d12](!#d12) [d14](!#d14) [d16](!#d16) [d20](!#d20) [d24](!#d24) [d30](!#d30) [d100](!#d100 ) [?d?](!#?d?)}} Each button calls a macro from my library, the standard dice type do not work, but test ok independently.  The non-standard die types work fine:  e.g. standard die type /roll 1d4 e.g. non-standard die type ! [[1d6]] d3: [[1d3]] This macro used to work.  I'm baffled. . . .
1522394183

Edited 1522394243
vÍnce
Pro
Sheet Author
This may need substitutions for special characters. Info:&nbsp; <a href="https://wiki.roll20.net/API:Chat#API_Command_Butto" rel="nofollow">https://wiki.roll20.net/API:Chat#API_Command_Butto</a>... Keep a copy of your macro saved in a text editor, because if you ever open the macro to edit within roll20, the special characters will get converted and break the macro.&nbsp; Kinda of a PITB...&nbsp;&nbsp; So, try copying and pasting this into your macro, save, and never open again if it works.&nbsp; (keep an offline copy in case you want to edit or need to use it as a backup) &{template:default} {{name=Roll thy funky. . . }} {{DOOM DICE=[d3](!&amp;#13;#d3) [d4](!&amp;#13;#d4) [d5](!&amp;#13;#d5) [d6](!&amp;#13;#d6) [d7](!&amp;#13;#d7) [d8](!&amp;#13;#d8) [d10](!&amp;#13;#d10) [d12](!&amp;#13;#d12) [d14](!&amp;#13;#d14) [d16](!&amp;#13;#d16) [d20](!&amp;#13;#d20) [d24](!&amp;#13;#d24) [d30](!&amp;#13;#d30) [d100](!&amp;#13;#d100 ) [?d?](!&amp;#13;#?d?)}} .
Big thanks for that Vince, macro now working . . .&nbsp;
1525150924
GiGs
Pro
Sheet Author
API Scripter
You can also set up a Character, call it Macros, and save a copy of your macros in the Abilities section. Macros saved here don't get parsed when they are opened, so you'll always have a copy of the original macro for safekeeping.