I have a player that is trying to channel cantrips into his weapon to change the damage type of the weapon and add the rider effect of the cantrip, if any. I am trying to make a ability macro that uses a query to return damage type, spell save, and Effect based on a spell selected on the list. I can get the templet to return one of the 3 pieces of information but I cant get all three. BASE TEMPLATE &{template:atkdmg} {{mod=mod}} {{rname=Spellstrike}} {{range=5 feet}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[d8+@{Dexterity_Mod}]]}} {{dmg1type=PH1}} {{save=1}} {{saveattr=PH2}} {{savedesc=Disadvantage on save}} {{savedc=[[8+@{PB}+@{Intelligence_mod}]]}} {{desc=PH3}} {{hldmg=hldmg}} {{spelllevel=spelllevel}} {{ammo=ammo}} {{charname=@{character_name}}} DAMAGE TYPE PH1 = ?{Spell|Acid Splash,Acid|Chill Touch,Necrotic|Fire Bolt,Fire|Frostbite,Cold|Glitterbeam,Radiant|Lightning Lure,Lightning|Poision Spray,Poison|Ray of Frost,Cold|Shocking Grasp,Lightning|Sword Burst,Force} SPELL SAVE TYPE PH2 = ?{Spell|Acid Splash,Dexterity |Chill Touch,No|Fire Bolt, No|Frostbite,Constitution |Glitterbeam,No|Lightning Lure,Strength |Poision Spray,Constitution|Ray of Frost,No|Shocking Grasp,No|Sword Burst,Dexterity} EFFECT DESCRIPTION PH3 = ?{Spell|Acid Splash,None |Chill Touch,Creature can't regain hitpoints untill the start of your next turn, if undead also has disadvantage on attack rolls against you until the end of your next turn. |Fire Bolt, A flammable object hit by this spell ignites if it isn't being worn or carried. |Frostbite,Creature has disadvantage on its next weapon attack it makes before the end of it's next turn. |Glitterbeam,Until Creature uses an action to remove the glitter it glows and has disadvantage on Desterity (Stealth) to hide or conceal itself. |Lightning Lure,Target is pulled up to 10 feet in a straight line toward you. |Poision Spray,None |Ray of Frost,target's speed is reduced by 10 feet until the start of your next turn |Shocking Grasp,You have advantage on the attack roll if the target is wearing armor made of metal.Target can't take reactions until the start of its next turn|Sword Burst,None} If i use two of the above at the same time I get It is pulling the information from PH1 and applying it to both areas. What I am looking for it to do is give me a choice Choose frostbite for instance and then return the changes Any help is appreciated