
Hello, this is my first time posting, sorry if my title isn't descriptive enough.
I'm trying to write a macro to generate ability scores for Shadowdark, which includes a clause that tells the program to reroll the whole set if there is no result greater than 14. So far I have this macro written:
&{template:default} {{name=Ability Scores}} [[3d6]], [[3d6]], [[3d6]], [[3d6]], [[3d6]], [[3d6]] {{1=STR: $[[0]]}} {{2=DEX: $[[1]]}} {{3=CON: $[[2]]}} {{4=INT: $[[3]]}} {{5=WIS: $[[4]]}} {{6=CHA: $[[5]]}}
Right now this generates and correctly assigns the values, and I know there is a reroll rule for specific die values (reroll 1's, 2's, etc.), but in this instance, I want to have the macro look at the whole list of roll results to determine if it is a valid set, and then generate a new set if the current one isn't valid. Is there a command or argument structure I can incorperate to achieve this?