I'm working on a character sheet for Vaesen, a system where checks have you roll a number of d6's and count how many 6's are rolled as successes. The number of dice you roll is equal to a stat + bonus, subtracting one die for each bad "condition" you have. This is an example of my current macro: /r (@{Agility}+?{Bonus Dice|0}-@{NumberOfConditions})d6>6 If you have a lot of conditions, a low stat, and no bonuses, it's possible for the number of dice you roll to be below 1. However, the game's rules state that you can always roll at least 1 die if that would happen. How can I make a macro that will always roll at least 1 die, but will otherwise roll the specified number of dice if the number specified is greater than 1?