
Hello, I want to change some content of a button role, depending on a previous selected item. The problem I am running into is, that I need two values. <div class='sheet-melee-options'> <select name="attr_activeweapon"> <option value="">primary</option> <option value="secondary">secondary</option> <option value="third">third</option> <option value="fourth">fourth</option> <option value="fifth">fifth</option> <option value="sixth">shield</option> </select> <button type='roll' data-i18n="fast-strikes-u" class='sheet-skill-roller2' value= '@{whisper}&{template:statistics3} {{title=MELEE-Test}} {{name=@{character_name}}}{{roll=[[1d10!+@{ref}[STAT]+@{melee_total}[SKILL]?{EXTRA ACTION|No,+0|Yes,-3}[EXTRA ACTION]+0[FAST STRIKES]+?{WEAPON SELECTION|@{primary_weapon_name},@{primary_wa}|@{secondary_weapon_name},@{secondary_wa}|@{third_weapon_name},@{third_wa}|@{fourth_weapon_name},@{fourth_wa}|@{fifth_weapon_name},@{fifth_wa}|@{sixth_weapon_name},@{sixth_wa}|Shield, 0}[WEAP. ACC]?{1ST ATTACK LOCATION|Random,+0|Head,-6|Torso,-1|Arm/Limb,-3|Leg/Tail/Wing,-2}[LOCATION]+?{1ST ATTACK MODS? (Bright Light, No Vision, Terrain etc)|0}[MOD]]]}}{{roll1weapon=primary}} {{roll2=[[1d10!+@{ref}[STAT]+@{melee_total}[SKILL]?{EXTRA ACTION|No,+0|Yes,-3}[EXTRA ACTION]+0[FAST STRIKES]+?{WEAPON SELECTION|@{primary_weapon_name},@{primary_wa}|@{secondary_weapon_name},@{secondary_wa}|@{third_weapon_name},@{third_wa}|@{fourth_weapon_name},@{fourth_wa}|@{fifth_weapon_name},@{fifth_wa}|@{sixth_weapon_name},@{sixth_wa}|Shield, 0}[WEAP. ACC]?{2ND ATTACK LOCATION|Random,+0|Head,-6|Torso,-1|Arm/Limb,-3|Leg/Tail/Wing,-2}[LOCATION]+?{2ND ATTACK MODS? (Bright Light, No Vision, Terrain etc)|0}[MOD]]]}}'>FAST STRIKES</button> I need the weapon name and wa (weapon accuracy). Is it even possible to do it this way? I tried to do a some kind of nested call @{@{activeweapon}_wa} but that doesnt work. I appreciate any help :) P.S: a secondary question is if I can get the weapon name to show inside the option