Where are you getting the number of dice from? Are you pulling it straight from a damage field on the sheet? As Kraynic said, you can't deconstruct a dice expression using a macro. If the players are entering the number of dice you can do it, other than that you'd need the API to pull the expression apart. If you had a straight XdY expression stored with no modifier, like 3d6, what you've already got will work (assuming by "dice modifier" you mean "number of dice"): 3d6 + 3d6>0*2 But "3d6 + 5" will not, since the success operator doesn't work on the 5. Again, that's API territory, a macro cannot modify existing strings.