Mathieu V. said: Hello, On my custom sheet, i need to compare the unit digit of a roll. (Crits are defined by a 0) Is possible to defined custom helper function (as rollWasCrit) ? Thanks Depending on the range of results, you could also hardcode the unit digit cases, by baking them into the rolltemplate with a bunch of rollTotal() functions (rollTotal() roll 10, rollTotal() roll 20, ...) OR depending on how your rolls are set up, you can change what crits mean by changing your roll commands, e.g. [[d100cs10cs20cs30cs40cs50cs60cs70cs80cs90cs100]]