I've been trying to write a macro that uses a roll query with a roll template to do my character's attack or optionally full attack in one roll template. I put the two iterative attacks in a single roll query and to just do a single attack I just hit backspace to clear the roll query so the iterative text shouldn't be in the macro. However I'm having three issues: (1) when removing the iterative text in the roll query when it pops up, the second iterative still shows up in the roll template, (2) I get a malformed roll query between the "Iteratives?" query and "Hasted?" query that says " STR mod? +?{Attack modifiers?: " with a default value of "0", (3) said malformed query appears to have replaced the "STR mod?" query specifically in the attacks of the first iterative and the haste attack, but not in the crit confirm for those attacks. Here's the macro in question (sorry for wall of text): &{template:pf_generic} {{character_name=Rock}} {{name=Attack}} {{Main=[[1d20 +1 +@{class-0-bab} +?{STR mod?|@{Strength}} +?{Attack modifiers?|0}]][[?{Weapon damage?|2d6} +1 +floor(?{STR mod?|@{Strength}}*1.5) +?{Bonus dmg?|0}]] [[1d20 +1 +@{class-0-bab} +?{STR mod?|@{Strength}} +?{Attack modifiers?|0}]][[?{Weapon damage?|2d6}+?{Weapon damage?|2d6} +2*(?{STR mod?|@{Strength}} +?{Bonus dmg?|0})]]}} ?{Iteratives?|{{It.1=[[1d20 -5 +1 +@{class-0-bab} +?{STR mod?|@{Strength}} +?{Attack modifiers?|0}]][[?{Weapon damage?|2d6} +1 +floor(?{STR mod?|@{Strength}}*1.5) +?{Bonus dmg?|0}]] [[1d20 -5 +1 +@{class-0-bab} +?{STR mod?|@{Strength}} +?{Attack modifiers?|0}]][[?{Weapon damage?|2d6}+?{Weapon damage?|2d6} +2*(?{STR mod?|@{Strength}} +?{Bonus dmg?|0})]]}} {{It.2=[[1d20 -10 +1 +@{class-0-bab} +?{STR mod?|@{Strength}} +?{Attack modifiers?|0}]][[?{Weapon damage?|2d6} +1 +floor(?{STR mod?|@{Strength}}*1.5) +?{Bonus dmg?|0}]] [[1d20 -10 +1 +@{class-0-bab} +?{STR mod?|@{Strength}} +?{Attack modifiers?|0}]][[?{Weapon damage?|2d6}+?{Weapon damage?|2d6} +2*(?{STR mod?|@{Strength}} +?{Bonus dmg?|0})]]}}} ?{Hasted?|{{Haste=[[1d20 +1 +@{class-0-bab} +?{STR mod?|@{Strength}} +?{Attack modifiers?|0}]][[?{Weapon damage?|2d6} +1 +floor(?{STR mod?|@{Strength}}*1.5) +?{Bonus dmg?|0}]] [[1d20 +1 +@{class-0-bab} +?{STR mod?|@{Strength}} +?{Attack modifiers?|0}]][[?{Weapon damage?|2d6}+?{Weapon damage?|2d6} +2*(?{STR mod?|@{Strength}} +?{Bonus dmg?|0})]]}}} I would think that the roll queries that get called in the Main attack should set the values for their respective calls later in the macro so that the "Iteratives?" and "Haste?" queries would see the input values, but it appears to go top to bottom cross-referencing any new queries with ones already found. Is there a way around this/some way to make a functionally similar macro?