You cant do any conditional things with macros. If what you're trying to do contains an IF you cant do it. So, "if all the dice are not successes" cannot be done. What you can do is display the first total, and always roll the second and display it, and manually add them together when needed. So you could do something like @{selected|token_name} /roll ?{Jet de Compétences| Acrobatie,(@{selected|escape_artist}+@{selected|agility}+@{selected|wounds})d6>5| Armes à feu,(@{selected|firearms}+@{selected|agility}+@{selected|wounds})d6>5| Armes lourdes,(@{selected|heavy_weapons}+@{selected|agility}+@{selected|wounds})d6>5| Armes à projectiles,(@{selected|projectile_weapons}+@{selected|agility}+@{selected|wounds})d6>5| Armes de véhicules,(@{selected|vehicle_weapons}+@{selected|agility}+@{selected|wounds})d6>5| Athlétisme,(@{selected|athletics}+@{selected|agility}+@{selected|wounds})d6>5| Biotech,(@{selected|biotech}+@{selected|logic}+@{selected|wounds})d6>5| Combat astral,(@{selected|astral_combat}+@{selected|willpower}+@{selected|wounds})d6>5| Comédie,(@{selected|con}+@{selected|charisma}+@{selected|wounds})d6>5| Conjuration,(@{selected|conjuring}+@{selected|willpower}+@{selected|wounds})d6>5| Corps à corps,(@{selected|close_combat}+@{selected|agility}+@{selected|wounds})d6>5| Electronique,(@{selected|electronics}+@{selected|logic}+@{selected|wounds})d6>5| Etiquette,(@{selected|disguise}+@{selected|charisma}+@{selected|wounds})d6>5| Furtivité,(@{selected|stealth}+@{selected|agility}+@{selected|wounds})d6>5| Hacking,(@{selected|hacking}+@{selected|logic}+@{selected|wounds})d6>5| Ingénierie,(@{selected|engineering}+@{selected|logic}+@{selected|wounds})d6>5| Intimidation,(@{selected|intimidation}+@{selected|charisma}+@{selected|wounds})d6>5| Négociation,(@{selected|negotiation}+@{selected|charisma}+@{selected|wounds})d6>5| Pilotage véhicules divers,(@{selected|piloting_other}+@{selected|agility}+@{selected|wounds})d6>5| Pilotage véhicules terrestres,(@{selected|piloting_ground}+@{selected|agility}+@{selected|wounds})d6>5| Pistage,(@{selected|firearms}+@{selected|tracking}+@{selected|wounds})d6>5| Sorcellerie,(@{selected|sorcery}+@{selected|willpower}+@{selected|wounds})d6>5| Survie,(@{selected|survival}+@{selected|logic}+@{selected|wounds})d6>5| Technomancie,(@{selected|tasking}+@{selected|logic}+@{selected|wounds})d6>5} **REROLL If Needed** /roll 2d6>5 ============================== Or if you wanted to get fancy and conserve chat space, something like &{template:default} {{name=@{selected|token_name}}} {{roll=[[(?{Jet de Compétences | Acrobatie,@{selected|escape_artist}+@{selected|agility}| Armes à feu,@{selected|firearms}+@{selected|agility}| Armes lourdes,@{selected|heavy_weapons}+@{selected|agility}| Armes à projectiles,@{selected|projectile_weapons}+@{selected|agility}| Armes de véhicules,@{selected|vehicle_weapons}+@{selected|agility}| Athlétisme,@{selected|athletics}+@{selected|agility}| Biotech,@{selected|biotech}+@{selected|logic}| Combat astral,@{selected|astral_combat}+@{selected|willpower}| Comédie,@{selected|con}+@{selected|charisma}| Conjuration,@{selected|conjuring}+@{selected|willpower}| Corps à corps,@{selected|close_combat}+@{selected|strength}| Electronique,@{selected|electronics}+@{selected|logic}| Etiquette,@{selected|disguise}+@{selected|charisma}| Furtivité,@{selected|stealth}+@{selected|agility}| Hacking,@{selected|hacking}+@{selected|logic}| Ingénierie,@{selected|engineering}+@{selected|logic}| Intimidation,@{selected|intimidation}+@{selected|charisma}| Négociation,@{selected|negotiation}+@{selected|charisma}| Pilotage véhicules divers,@{selected|piloting_other}+@{selected|agility}| Pilotage véhicules terrestres,@{selected|piloting_ground}+@{selected|agility}| Pistage,@{selected|tracking}+@{selected|agility}| Sorcellerie,@{selected|sorcery}+@{selected|willpower}| Survie,@{selected|survival}+@{selected|logic}| Technomancie,@{selected|tasking}+@{selected|logic}&#125;)d6>5]] }} {{reroll=[[2d6>5]]}} You can see the problem with rolls getting more complicated with that &#125; on the last line. When you nest rolltemplated like this inside a query, you have to start using HTML entities to make it work, as described here: <a href="https://wiki.roll20.net/Macros#Advanced_Usage_for_Roll_Queries" rel="nofollow">https://wiki.roll20.net/Macros#Advanced_Usage_for_Roll_Queries</a>