I have custom D10 success system that has Attribute ranges from -10 to 10 and skills that range from 0 to 10 The system has a success target of 5+ on a d10. Skilll rolls are influenced by their attributes in that it forces a reroll for a number of success/faillures equal to the attribute but cannot exceed the skill level. (Ie; someone with a skill of 1 but a positive or negative attribute of 5 would only reroll once, the extra points of the attribute are ignored) Example : A character with a positive attribute of 2 in SOCIAL and 4 in his skill INTIMIDATE performs an intimidate skill check. The manual roll would go something like this : /roll 2d10ro<4>5+2d10>5 if the SOCIAL attribute was negative the roll would be as follow /roll 2d10ro>5>5+2d10>5 and finally if that same character had 1 in intimidate but 2 in SOCIAL the roll would be /roll 1d10ro<4>5 I am trying to make a skill check macro that would be able to handle those use cases but i am running into a few issues; negative numbers, a reroll ceiling since a skill of 1 cannot be influenced further than 1 even if the attribute is higher or lower and finally how to have a formula handle both positive attributes and also work for negative ones. If what i am trying to do possible ?