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

Dropdown Nesting

1647382100

Edited 1647382143
so i have a macro: &{template:default} {{name=Bite 1}} {{Attack[[1d20cs>20 + 13[AttackBonus] + ?{Misc Bonus/Penalty?|0}[Misc. Bonus] ]]}} {{Damage[[2d10 + 8 + ?{Misc Bonus/Penalty[str]?|0}[str]]]}} {{Crit Confirm=[[1d20 + 13[AttackBonus] + ?{Misc Bonus/Penalty?|0}[Misc. Bonus] ]]}} {{Crit Damage[[2d10 + 8]]}} and I've tried different ways to put it into a drop down menu so its optional as a section of roll queries, but when i do that it dosent have the drop down aspect (and it has the text of the macro in the section where the drop down whould be) i was doing this for the drop down ?{More?:|           Yes, &{template:default} {{name=Bite 1}} {{Attack[[1d20cs>20 + 13[AttackBonus] + ?{Misc Bonus/Penalty?|0}[Misc. Bonus] ]]}} {{Damage[[2d10 + 8 + ?{Misc Bonus/Penalty[str]?|0}[str]]]}} {{Crit Confirm=[[1d20 + 13[AttackBonus] + ?{Misc Bonus/Penalty?|0}[Misc. Bonus] ]]}} {{Crit Damage[[2d10 + 8]]}}|           No, 0|}
1647399266

Edited 1647399306
You have queries inside of queries so the inner query's pipes, commas, and closing brackets need to have html escapes.  And because of this you should store this macro in a macro mule because everytime you edit the macro again in the collections tab the html escapes will resolve themselves and you'll have to re set them.