The ro has to be right next to the dice: 2d10ro3 will reroll everything 3 or lower once. <a href="https://wiki.roll20.net/Dice_Reference#Rerolling_Dice" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Rerolling_Dice</a> <a href="https://wiki.roll20.net/Dice_Reference#Rerolling_Dice_.28B.2CF.29_rCP" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Rerolling_Dice_.28B.2CF.29_rCP</a> Counting successes (using < or >) is also something that goes right after the dice roll. <a href="https://wiki.roll20.net/Dice_Reference#Target_Number_.28Successes.29" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Target_Number_.28Successes.29</a> <a href="https://wiki.roll20.net/Dice_Reference#Target_Number_.2F_Successes_.28B.2CF.29_-_CP" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Target_Number_.2F_Successes_.28B.2CF.29_-_CP</a> You might be able to work something out with group rolls and comparing that to minimum value and keeping the higher one, but that wouldn't reroll anything below the value. <a href="https://wiki.roll20.net/Dice_Reference#Grouped_Rolls" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Grouped_Rolls</a> Instead of counting successes, it might be best to just print to chat the target number so that you have it right there to compare to. On the other hand, if the target is something that variable, it might be best to just leave it out of the macro altogether and just announce the target value.