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 here.
×
×
Cookie Preferences
We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
I'm not sure if the mod is running right or if I have written the script wrong but I get SyntaxError: Expected "[" but "r" found. when I run !rt /w gm [[Treasure-Ind0-4]].
Thank you Jarren! I'm having a problem now trying to stack marcos this is the script i am using: /w gm &{template:default} {{name=Treasure and Rewards}} {{Treasure(0-4)=[Treasure-Ind(0-4)](!
#Treasure-Ind0-4)}} when i test the macro it pops up right but when i click the button in the chat it just dispays #Treasure-Ind(0-4 After testing the macro i noticed its removing the (!
# and leaving this: /w gm &{template:default} {{name=Treasure and Rewards}} {{Treasure(0-4)=[Treasure-Ind(0-4)](! #Treasure-Ind0-4)}} Any ideas or could someone tell me what I'm doing wrong please?
I would suggest using a Macro Mule instead of collections macros. You can see what that kind of setup looks like for the standard D&D 5E DMG treasure tables here: <a href="https://app.roll20.net/forum/post/10489371/creating-1-click-treasure-tables-in-roll20/?pageforid=10490102#post-10490102" rel="nofollow">https://app.roll20.net/forum/post/10489371/creating-1-click-treasure-tables-in-roll20/?pageforid=10490102#post-10490102</a>
So Jarren's suggestion is not only good for things like HTML replacements, portability between games, etc., it gets past the need for a space that I just mentioned... So, a lot of benefits.