Oosh said: You can do something like this, if I'm understanding what you want correctly: /r 1d20>?{Difficulty|10} Or, if you wanted to do something like the 2d6 roll above, you can use nested rolls and $[[0]] references to get a bit more information displayed from the dice roller: &{template:default} [[ [[{[[1d20]],0}>?{Difficulty|10}*2]]d6 ]] {{name=Roller}} {{d20 result=$[[0]]}} {{Difficulty=?{Difficulty}}} {{2d6 result=$[[2]]}} Is this kind of what you're talking about? This is just using some tricks to get around the fact that you can't actually do conditional statements. Yeah the second one is very close to what i had in mind, i'll work to fix the template and then it'll be fine for the use, thanks a lot. I've completed it will template like this: &{template:DnD35StdRoll} {{skillflag=true}} [[ [[{[[1d20 + 5]],0}>?{Immetti la difficoltà del salto|10}*2]]d6 ]] {{name=Claw at the Moon}} {{Difficoltà salto:=?{Immetti la difficoltà del salto}}} {{Risultato salto:=$[[0]]}} {{Danni bonus:=$[[2]]}} I can't call the parameter [[@{Moloch|jump}]] instead of +5, but i'll work on it, otherwise, i'll just remember to change it