Good morning! I'm really hoping someone can help me out here. I'm trying to use chatsetattr's execute functionality to use ternary (if) statements to select which attribute to use. The character sheet I'm using allows for 4 different ranged weapons to be entered and stores which one is selected and that number drives which range/ammo/to-hit/etc is used for subsequent rolls. While the sheet has a lot of amazing functionality, this is a system where reloading (and spells) usually take more than one turn and I'm trying to write my own macros to track those reload times and spell casting times. What I have now is: !setattr --charid @{target|character_id} --evaluate --ReloadTime|(%FKW_Aktiv%==1)?%FKWLadezeit1%:(%FKW_Aktiv%==2)?%FKWLadezeit2%:0 Since up to 4 pieces of equipment are allowed, I want to write a macro that will work no matter how many such weapons my players have. The ternary statements work nested thusly, but if I try to reference an attribute that doesn't exist, even if you never get to them before finding a valid response.