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

Help fixing my Macro

I have very limited experience with macros and coding in general, and I've gotten this far by frankensteining stuff from the forums and the wiki. But my issue is once I hit the roll button, it rolls on the table I made twice, or at least it repeats itself with  )'>  between each entry twice. How do I get it so it only comes out once? My idea was to make another macro that rolls for it and have it fetch the result from the other macro but I don't know how I would go about doing that. Everything I've seen says using # should work but not in my case. Here's my code: &{template:default} {{name=Wild Magic Surge}} {{Result=[[1d8]]}} {{ =The chaos within you ebbs and flows looking to escape your vessel...}} {{=[Roll](!%NEWLINE%&{template:default} {{name=Wild Magic Surge}} {{... until its finally set free. =[[1t[Wild-Magic-Table]]]}})}} I'm using the 2024 5e CS if that matters?
1761871446

Edited 1761872324
Gauss
Forum Champion
Hi Mike K.,  I suggest creating a Macro Mule using a 2014 sheet in your 2024 game. It will still use the 2024 Default template output, but without the 2024 default template weirdness.  On that Macro Mule's Attributes Ability tab put the following macros: Ability Macro 1 Name: as desired Body: &{template:default} {{name=Wild Magic Surge}} {{Result=[[1d8]]}} {{ =The chaos within you ebbs and flows looking to escape your vessel...}} {{=[Roll](~Mule|WildSurge)}} Ability Macro 2:  Name: WildSurge Body: &{template:default} {{name=Wild Magic Surge}} {{... until its finally set free. =[[1t[Wild-Magic-Table]]] }} I tested it and it works without the wierdness.