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

Issue with any text commands in nested macros

Hello, I've been working on a macro to roll a bulk number of 'x' type saves of a group of 'y' creatures. There are two layers of nesting involved, "type of save" and "number of saves". I have been having trouble making the queries output anything other than pure text however. I do not have the luxury of making my own API's, so nested queries will have to do. I started with the working nested query example in the wiki:&nbsp; <a href="https://wiki.roll20.net/Macros#Roll_Query_Troubleshooting:_Nesting_Queries" rel="nofollow">https://wiki.roll20.net/Macros#Roll_Query_Troubleshooting:_Nesting_Queries</a> The test code is here: ?{Name of Query| Label 1, ?{value1&amp;#124; Label 1A&amp;#44; ?{value1A&amp;amp;#124; Label 1Ai&amp;amp;#44;&amp;amp;#47;gm test &amp;amp;#124; Label 1Aii&amp;amp;#44; value 1Aii &amp;amp;#125; &amp;#124; Label 1B&amp;#44; ?{value1B&amp;amp;#124; Label 1Bi&amp;amp;#44; value1Bi &amp;amp;#124; Label 1Bii&amp;amp;#44; value1Bii &amp;amp;#125; &amp;#125; | Label 2, ?{value2&amp;#124;value2&amp;#125; } Note: the '&amp;amp;#47;gm test' line is the result of several tests using the entity number for '/' character to see if this was the issue.&nbsp; Obviously the code '/w gm test' works fine, and it works in the following: ?{Name of Query| Label 1,/w gm test | Label 2, blah blah } Is there something I'm missing or is this just a bug?&nbsp; Thanks in advance, - NotNyelaK
Solved, in nesting queries you cannot have a space between the `?` and following queries. Safer to remove all spaces in the code: ?{Name of Query|Strength,?{Number of Targets&amp;#124;1&amp;#44;/w gm test &amp;#124;2&amp;#44; hello2 &amp;#125;|Dexterity,?{value2&amp;#124;value2&amp;#125; } I will update the wiki with this information &lt;3 - NotNyelaK