I'm trying to write an inline nested macro: This works: !token-mod --set aura1_radius|[[5*@{selected|repeating_weapons_$0_range}]] I'm trying to make the 0 an input like this: !token-mod --set aura1_radius|[[5*@{selected|repeating_weapons_$?{Weapon|0}_range}]] But I get: No attribute was found for @{selected|repeating_weapons_${Weapon}