Unique [$RollIDs] can only be defined once within a macro; they cannot be defined by the outcome of conditionals. Here is a macro that works around this: !power {{
--format|sean
--titlefont|Helvetica
--subtitlefont|Helvetica
--titlefontshadow|none
--charid|@{Name}
--name|@{Name}'s Alteration Check
--Roll:| Due to the nature of this workaround, the total roll can only be viewed by hovering over the inline roll below. (The total roll is the number to the right of the < sign.)
--Total:| [[ [$Q] @{Alteration} + ?{Modifier|0} - 9 + {2,3,3,5,5,7,7,9,11,13,15,16,17,18,19,20,21,26,31,36,41,46,51,56,61,66,71,76}<[[1d20!10!!20]] ]]
--?? $Q == [[@{Alteration} + ?{Modifier} - 9]] ?? Mishap:| MISHAP
--?? $Q < [[?{Target Defense|0}]] ?? Miss:| Fail
--?? $Q >= [[?{Target Defense}]] AND $Q <= [[4 + ?{Target Defense}]] ?? Hit:| Standard Success
--?? $Q >= [[5 + ?{Target Defense}]] AND $Q <= [[9 + ?{Target Defense}]] ?? Hit:| Good Success
--?? $Q >= [[10 + ?{Target Defense}]] ?? Hit:| Outstanding Success
}} (Also, you will want to replace all instances of => with >=)