Trying to get a ScriptCard working that does some simple branch logic to display a few RollQueries, and then call on an API method to do some logic based on selected options and output a roll template to chat. Final state this ScriptCard will use hideCard and have no output, just a staging point for the roll queries. Basically the players can hire help, and the availability of a given resource-type needs to be rolled. So we have three classes (Henchmen, Mercenaries, Specialists) and a unique list of sub-types beneath each of the three classes. There is also a concept of "Market Class" of the current area, so this information is also gathered. The ScriptCard I have is almost working, but having an issue where my branch-logic based on class is always calling the first RollQuery regardless of the selected value, I think having a RollQuery inside a Gosub might be unsupported? This is my second ScriptCard attempt and never touched PowerCards so new to this bit! Here's what I have now, regardless of what you select for [&HirelingType] you'll always get the Henchmen-specific SubType roll query and not the others. Any insight would be appreciated, where am I going wrong? !scriptcard {{ --#title|Hireling Availability --:Initialize Card| --&HirelingType|?{Hireling Type|Mercenaries|Specialists|Henchmen} --=MarketClass|?{Market Class|VI,6|V,5|IV,4|III,3|II,2|I,1} --?[&HirelingType] -eq Henchmen|>Henchmen; --?[&HirelingType] -eq Specialists|>Specialists; --?[&HirelingType] -eq Mercenaries|>Mercenaries; --+Hireling Type|[&HirelingType] --+Market Class|[$MarketClass] --+Secondary Type|[&SubType] --@hirelingavailability|[&HirelingType] [&SubType] [$MarketClass] --X| --:Henchmen| --&SubType|?{Type|Normal Men,Normal-Men|Level 1,Level-1|Level 2,Level-2|Level 3,Level-3|Level 4,Level-4} --<| --:Specialists| --&SubType|SPECTYPE --<| --:Mercenaries| --&SubType|?{Type|Light Infantry,Light-Infantry|Heavy Infantry,Heavy-Infantry|Bowman,Bowman} --<| }}