The only way to do what you are looking for is to not use the default roll template. When the rtype is set to 'Toggle', the code that comes out is one of three different options that include three fields: 'query', 'normal/advantage/disadvantage', and the 'r2' field. This will not work in your macro, because it relies on the D&D 5E (Classic) roll template, which works differently than the 'default' template that you are using. There is javascript built in to the sheet that changes how the braces work and how they are displayed. The 'rtype' attribute is automatically updated by the sheetworkers when you change the Roll Queries setting on the character sheet, and the 'advantagetoggle' attribuet is automatically updated when you change the toggle between Advantage/Normal/Disadvantage. Here are what the various attributes are, and this might help explain why you're not getting what you're looking for. rtype Always: {{always=1}} {{r2=[[@{d20} rtype Toggle: @{advantagetoggle} rtype Query: @{queryadvantage} rtype Never: {{normal=1}} {{r2=[[0d20 advantagetoggle Advantage {{query=1}} {{advantage=1}} {{r2=[[@{d20} advantagetoggle Normal {{query=1}} {{normal=1}} {{r2=[[0d20 advantagetoggle Disdvantage {{query=1}} {{disadvantage=1}} {{r2=[[@{d20} queryadvantage {{query=1}} ?{Advantage?|Normal Roll,&#123&#123normal=1&#125&#125 &#123&#123r2=[[0d20|Advantage,&#123&#123advantage=1&#125&#125 &#123&#123r2=[[@{d20}|Disadvantage,&#123&#123disadvantage=1&#125&#125 &#123&#123r2=[[@{d20}} Advantage simply means rolling two dice and using the higher roll. It looks like you already are rolling twice, so all you have to do is use the higher roll for advantage, use the left roll for normal, and use the lower roll for disadvantage. I'm not clear on what exactly you want to do differently, because the macro you shared doesn't query for advantage at all, and already shows advantage without a query. The dice code for a single die roll that shows advantage is: [[2d20kh1+@{strength_mod}[STR]+@{pb} + (@{global_attack_mod})[mod]]]