Danny C. said: Hey Kurt, Just a curiosity Would you be able to later on implement if else and else statements into powercard, or that outside the scope possible? At first I was going to say there wasn't really a way to make this happen, but I think I've come up with something that might fit the bill. I've updated the development GIST with 3.8.13 which add a new behavior to conditional tags. It works like this : If you use normal conditional tags, nothing changes at all. After a ?? ... ?? you can start using ?+ ... +? tags which will behave as "else" for any previous ?? ... ?? or ?+ .. +? tag until you start over with a ?? .. ?? tag. Essentially, with a sequence of ?? .. ?? and ?+ .. +? tags, once one has evaluated to true, the others will all be set to false. Here is an example: !power {{ --name|test --DiceRoll|[[ [$res] 1d20 ]] --?? $res > 15 ?? Hit|You hit ac 15! --?+ $res > 10 +? Miss|You missed by 5 or less --?+ $res > 5 +? Almost|You almost fumbled! --?+ 1 == 1 +? Fumble|You really messed up!
}} This will display something like this: In this card, the first condition that is true is displayed, and everything else is not. The final "else conditional" (?+ 1 == 1 +?) should act as a "finally" if nothing above it is true. This should be considered *experimental* at this point :) let me know if you find it useful. Here is a more "real life" example: !power {{ --name|5E Attack --hroll|[[ [$ac] 1d6+10 ]] [[ [$dmgBase] 1d8 + 5 ]] [[ [$dmgCrit] 2d8 + 5 ]] --Attack|You attack, rolling [[ [$atk] 1d20 + 5 [STR] + 3 [PROF] ]] vs AC [! [^ac] !] --?? $atk.base == 20 ?? Critical Hit!|You strike a vital spot for [! [^dmgCrit] !] damage! --?+ $atk.base == 1 +? Miss *1|Your attack missed, and if you play with fumbles, you fumbled! --?+ $atk.total >= $ac +? Hit|Your blow lands for [! [^dmgBase] !] damage! --?+ 1 == 1 +? Miss *2|Your attack missed }} This is a 5E attack macro that handles hits, crits, fumbles, and misses without the need for AND this, OR that, etc. Note the placement of the natural 1 which will prevent a hit that is just based on bonuses from registering as a hit without needing a bunch of extra conditions in the lines. NOTE: Right now this doesn't work with Extended Conditionals (?! .. !?) if this proves useful, I'll add it to them as well.