There are some creative solutions to "force" the die roller to do some simple logic, but otherwise there are no conditional statements available to standard macros. Hacky example: &{template:default} {{name=Logic test}} {{[0](#)=Roll is odd}} {{[1](#)=Roll is even}} {{[[[[[1d6]]%2]]](#)=$[[0]]}} Or setting a value to 0 on a certain die roll, say the second damage die is only applied on even rolls: &{template:default} {{name=Logic test}} [[abs([[1d6]]%2-1)*1d6[Evens]]] {{Attack Roll=$[[0]]}} {{Damage=[[1d6[Base]]] + $[[1]]}} It's very limited in scope, and requires a bit of tinkering. The API (and sheetworkers on custom sheets) use Javascript and have a range of proper programming logic available - if, and, or, loops etc. Both of these require a Pro game.