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

Query grouped macro problem

1644162835

Edited 1644162912
Hello I have a problem with... simple macro and i don't know what to do... ?{Dice|2, {1d10!, 1d10!}|3, {1d10!, 1d10!, 1d10!}|4, {1d10!, 1d10!, 1d10!, 1d10!}} I tried replace "}" with unicode like "&#125" or "{" with unicode "&#123" i tried replace commas, "|" with their unicode etc. and always have this same problem...  2, {1d10, 1d10 Anyone have any idea what is a problem?
1644163683

Edited 1644163727
You need to use html replacements for closed brackets that are after the dice equations(except that very last one that is beside another) and html replace the commas that are inside those sets of brackets as well(the commas between the two dice equations).  To clarify, you only need to replace the closing bracket not the opening bracket of those.  
1644166547

Edited 1644166564
I don't know what before i doing wrong, but now it working very well
Pitbull said: I don't know what before i doing wrong, but now it working very well You should only need to replace the symbols I said above but understand that if that code is in the "collections tab" as a "macro" then everytime you open said macro its going to break the macro as the HTML escapes get shown or removed.  This is why most of us use macro mules cause for some reason the html escapes don't break when you edit a character sheets token actions.  
1644190649
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
More Info: Macro Character Sheet
1644251440

Edited 1644251658
Pitbull said: Hello I have a problem with... simple macro and i don't know what to do... ?{Dice|2, {1d10!, 1d10!}|3, {1d10!, 1d10!, 1d10!}|4, {1d10!, 1d10!, 1d10!, 1d10!}} I tried replace "}" with unicode like "&#125" or "{" with unicode "&#123" i tried replace commas, "|" with their unicode etc. and always have this same problem...  2, {1d10, 1d10 Anyone have any idea what is a problem? Use [[1d10!]] or [[d10!]] instead. And don’t use commas inside the query. Like so: ?{Dice|2, [[1d10!]] [[1d10!]]|3, …
Gargamond said: Pitbull said: Hello I have a problem with... simple macro and i don't know what to do... ?{Dice|2, {1d10!, 1d10!}|3, {1d10!, 1d10!, 1d10!}|4, {1d10!, 1d10!, 1d10!, 1d10!}} I tried replace "}" with unicode like "&#125" or "{" with unicode "&#123" i tried replace commas, "|" with their unicode etc. and always have this same problem...  2, {1d10, 1d10 Anyone have any idea what is a problem? Use [[1d10!]] or [[d10!]] instead. And don’t use commas inside the query. Like so: ?{Dice|2, [[1d10!]] [[1d10!]]|3, … I was assuming his brackets were there because hes using an advanced roller feature outside the query to the right of the result like KH1 or something especially since hes got commas in between those rolls.