I'm trying to program a custom roll template for my oWoD game, and I'd like the roll template to display a different background if the player rolls a botch. In case you aren't familiar with old World of Darkness' mechanics and botch rules: The player rolls a number of d10's, and compares each one to a difficulty number. Each die that equals or exceeds the difficulty counts as a success, while any 1's that are rolled subtract a success. A botch occurs if (A) none of the dice beat the difficulty (i.e. no successes are rolled), and (B) at least one '1' is rolled. So, rolling 5 dice against a difficulty of 6: 8, 8, 8, 4, 1 --> 2 successes 4, 4, 4, 4, 1 --> Botch (no successes, and at least one 1) 8, 4, 1, 1, 1 --> Failure (the '8' prevents it from being a botch, even though the 1's reduce the successes below 0) Is there a way to check an inline roll for the conditions of a botch, and then use a #property block to select the appropriate table element (styled with the proper background image)? I've got a decent handle on the API and sheet worker scripts, and I have a reasonable understanding of roll templates, so hopefully all I need is a push in the right direction! Thanks in advance for your help!