For that screenshot, I was using the code from RainbowEncoder's earlier version, but the latest version seems to be working properly according to my testing (though it doesnt roll 2 dice per die: it rolls one die, then rerolls failure, so it gets the same effect as rolling 2 dice). In that last code, you'll have to remove linebreaks - they'll break the macro. So this should work: [[ ?{Advantage| Normal,{?{Number of Attackers&vert;10&rbrace;d20 + ?{To hit modifiers +&vert;8&rbrace;&rbrace;>| Advantage,?{Number of Attackers&vert;10&rbrace;-{[[{?{Number of Attackers&rbrace;d20 + ?{To hit modifiers +&vert;8&rbrace; +1 &rbrace;<?{Target AC&vert;15&rbrace;]]d20 + ?{To hit modifiers +&rbrace; +1 &rbrace;<| Disadvantage,{[[{?{Number of Attackers&vert;10&rbrace;d20 + ?{To hit modifiers +&vert;8&rbrace;&rbrace;>?{Target AC&vert;15&rbrace;]]d20 + ?{To hit modifiers +&rbrace;&rbrace;>}?{Target AC|15} ]] hits vs **AC**[[?{Target AC}]]