So I have been poking around with the API and discovered a number of wonderful things I can and want to do with my Pathfinder game. I am using the Official Roll20 Pathfinder sheet and can make formulas and abilities do all kind of fancy things we need done. I am running into a situation I have yet to understand using either a macro or an ability or something with API work out. In short, I have a monk and he keeps track of his ki using "bar 2" of the token and a magus tracking his arcane pool the same way. We want to make it so it will automatically update from or to the sheet regardless of where he changes the value. So, if he changes the value in the token, I would want the spell-like ability we defined to handle and auto-adjust his ki (or pool for the magus) on his token bar 2, and vice verse (if he adjusts bar 2, the sheet gets updated). I can easily read the values from the sheet but I cannot wrap my brain around how to make it write back the value to sheet. I can certainly tie the bar to an attribute but then it won't update the sheet, like it would if you connect it to the character's HP or whatever. I hope I am making sense with this, but in short I want to create something to ensure accuracy so I don't need to open players sheets during the game and confirm the changes. While I have scolded my players many time to pick one, they aren't consistent and want to make it so I can trust the screen easier. Any suggestions or direction of help would be welcome. And yes, I can go into a lot more detail if this doesn't make sense into what I am directly seeking to do; I just didn't want this to get too much longer before anyone offer the help. Thanks!