If you mean the ammo script, I set it up as a button included in the description of attacks or abilities, and people click on that when they are using them. One character (Sanos) in my pathfinder game has a shortbow. The command that I have saved as an ability macro (Attributes & Abilities tab) is simply named arrows and looks like this: !ammo @{selected|token_id} repeating_attacks_$0_atkammo -1 arrow The button in the description section of the shortbow attack looks like this: [Arrow Usage](~Sanos|Arrows) When the attack is made, "Arrow Usage" is in bold letters in the description, and each click of it removes an arrow. I am just using the row index ($0) instead of the unique row ID, so setting things up that way will fail if the player changes the order of things in that section. To find out things like that, the best way to do so is to use your browser inspect the input you want to target. Just right click and select "inspect" from the menu. If you are inspecting something that isn't in a repeating section, then you only need to look at the attribute name that gets highlighted by inspect. If you are in a repeating section (like attacks, inventory, etc. on this sheet), then you also need the repeating section name because a repeating section attribute has 3 parts that are all separated by underscores. 1: repeating section name 2: row index or row ID 3: input attribute name. I clicked on the quantity input on the first item in Sanos' inventory. The code shown in the inspect window looked like this: You see the part that is highlighted includes name="attr_quantity". The attr_ part is just telling Roll20 that this is an attribute, so you drop that when you use it in a macro. Part 3 of the attribute here is "quantity. If you look a little ways up, there is a line that has name="repeating_gear". So the first part of the full attribute will be "repeating_gear". Since this was the first item, I should be able to tell which row of repeating gear should be used to pull the quantity. But I could also use the exact row ID. You can see a data-reproid="-LxDUds84EK7BThOe8E0". That is the middle part if I want this to work if that row gets moved to somewhere else in the inventory list. That gives us a final attribute to point ammo to that would be written one of these 2 ways: repeating_gear_$0_quantity or repeating_gear_-LxDUds84EK7BThOe8E0_quantity You can do this with any section and input anywhere on the sheet.