Hello everyone! I've a problem and I've been banging my head against the (code) wall for two days, so please looks if someone can help me here. In the 13th Age Oficial Sheet, a Basic Attack macro can looks like this: &{template:default} {{name= Basic Attack}} {{Weapon= @{selected|MWEAP-name1} }} {{Attack= [[1d20 + [[ (@{selected|STR-mod} * @{selected|LVL-multiplier}) ]] [STR] + @{selected|level} [LVL] + @{selected|MWEAP-mod1} [WEAP] + ?{Modifiers|0} [MOD] + @{selected|E-DIE} ]] }} {{Damage= [[@{selected|level}d[[@{selected|MWEAP1}]] + @{selected|MWEAP-mod1} [WEAP] + [[(@{selected|M-BAMOD} * @{selected|LVL-multiplier})]] [STR] ]] }} So far so good, simple and straigtforward, isn't it? OK, my problem: There's a variable in the sheet called MWEAP-sel . This variable is a number (1, 2 or 3) that depends on what weapon you have selected in the Sheet, as you have 3 slots for weapons that can have different Magic Modifiers (MWEAP-modX) and use different dice sizes for damage (MWEAPX). As you can see in the code above, you can have MWEAP-mod1, MWEAP-mod2 and MWEAP-mod3, and the same with MWEAP1, MWEAP2 and MWEAP3 and others. I'm trying to make a Basic Attack macro that takes the chosen weapon modifiers and damage dice, using the MWEAP-sel value. If nothing make sense, the attack part of the code should look something like this (?): {{Attack= [[1d20 + [[ (@{selected|STR-mod} * @{selected|LVL-multiplier}) ]] [STR] + @{selected|level} [LVL] + @{selected|MWEAP-mod@{selected|MWEAP-sel}} [WEAP] + ?{Modifiers|0} [MOD] + @{selected|E-DIE} ]] }} The underlined part is what I'm trying to achieve: Take the MWEAP-sel value and use it to modify the MWEAP-modX to get the proper modifiers, etc. I've been trying and trying different things for two days, please tell me there's a solution!