I want to have a script that increments or decrements a resource on the 5E OGL sheet but based on the name of the resource. That is to say, the name I give it and not the name that it internally thinks it is. For example, suppose I have a resource named "Foo" and it happens to be @{repeating_resource_right_name} internally (at least that's what is displayed when I hover the mouse over the resource name). I'd like to do something like: !setattr --modb --sel --Foo|-1 But that doesn't work as expected. I get a message saying that Foo is being set to 0 (it was 1) but when I look on the character sheet, the number hasn't changed in the resource box so I'm assuming that I'm creating and affecting some random new attribute called Foo. The reason for my wanting to do this is that the resource could be anywhere on the character's sheet. For instance, on one character it could be the first box on the first row but on another it could be the second resource on the third row. I want to have one macro, not one for each character. So, the question is, is there some way to access the repeating resources by their given name? In the ChatSetAttr help file, I see an example: !setattr --sel --Ammo|%Ammo_max% and Ammo is one of the repeating resources on one of the character's sheets so I don't know why what I tried with Foo doesn't work. Can someone tell me what I'm doing wrong? Or at least tell me what will work? Thanks.