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

Can't get 2nd attack to trigger from Query

I've got a roll query for a monk and want to give flurry of blows... I can get it to output multiple lines, but it will only trigger one of the attacks for some reason... what obvious thing am I missing please? Code: ?{You have @{selected|class_resource} Ki points remaining, what would you like to do?|Patient Defense,!setattr --silent --name redacted --modb --class_resource#-1 !token-mod --set statusmarkers#!dodging|Flurry of Blows,!setattr --silent --name redacted --modb --class_resource#-1 /w redacted Make 2x Unarmed Strikes... %{selected|repeating_attack_$0_attack} %{selected|repeating_attack_$0_attack}|Step of the Wind,!setattr --silent --name redacted --modb --class_resource#-1 /w redacted You may take Disengage or Dash action as a bonus action, and your jump distance is doubled}
This also seems to potentially be borking the Roll20 chat, necessitating a purge from the front page...
1612230864

Edited 1612230917
Try it without the whispers. You whispered to a player named "redacted".
1612231432

Edited 1612231622
Jordan C.
Pro
API Scripter
What do the queries have for options when you run the macro? I would assume that the issue you would run into is that repeating attacks output roll templates that have right curly braces, "}", that will close the query and break the macro. So for instance your macro could get to the roll template style like "{template:atk}" and stop once it hits that right brace which breaks the template. From there since the second attack isn't inside the query and can't break anything else it will output correctly. Edit: You can find more information describing this from GiGs post here -&nbsp; <a href="https://app.roll20.net/forum/permalink/9742734/" rel="nofollow">https://app.roll20.net/forum/permalink/9742734/</a> , as well as in the advanced macros section of the Wiki.
1612232543

Edited 1612232659
It's not the whispers - tried snippets in isolation before posting. But thanks! Queries options look right. Everything works except for that 2nd attack. I tried for about 30mins to get the advanced query style to work, but sadly couldn't get it even close! I'll sleep on it and think again - perhaps going longhand on the unarmed attack template in the advanced query itself might be worth a shot. Thanks for the pointers!