I'm trying to make a formula for my game, wherein a dice is rolled, in this case a D90. The D90 would re-roll/toss any roll that scores below a 30. However, any roll that scores above a 60 would Explode and roll another die; and if that newly-rolled die rolled a 60 as well the pattern would continue until 60+ rolls stopped, which would result in the final total roll being the accumulated amount in total. So, essentially the outcome would look something like: (In the instance of simply rerolling): [ 30 , 75 ] (When that rolled 75, because it's above 60, explodes and continues until exploding die can no longer apply): [ 30 , 75, 64, 12 ] (Total roll result/number being: 151) The formula I've been trying to work with is: [[ {1d90r<30}!>60 ]] (The first { } bracket indicating the initial minimum roll of 30, and rerolling until a dice scores above that target number, with, once the target minimum is reached, exploding the dice if it happens to score above 60 and continuing to explode with rolls above 60 until a dice scores below 60, in which case the explodes stop and the roll is done). However, with it I keep getting syntax errors no matter how I mess with it. ;-; I keep getting this: SyntaxError: Expected "d", "k", "x", [0-9] or [>|<|=] but "!" found.