@timmaugh I do love this API! However, in a game I'm managing, I've been using with an @{target|character_name} command. I notice the Script will crash if I use it on a token NOT controlled the activating player (which I totally understand), as seen bellow: TypeError: Cannot read properties of undefined (reading 'id')
TypeError: Cannot read properties of undefined (reading 'id')
at apiscript.js:28316:98
at Array.forEach (<anonymous>)
at apiscript.js:28314:23
at Array.forEach (<anonymous>)
at handleInput (apiscript.js:28313:29)
at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:168:1), <anonymous>:65:16)
at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:168:1), <anonymous>:70:8)
at /home/node/d20-api-server/api.js:1762:12
at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:560
at hc (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:39:147) Is there a way to bypass or allow players to add abilities to a sheet they don't control; in the same manner as say, token-mod or chattsetattr APIs? (I'm using it to show a token-action button on other PCs or NPCs for something like Bardic Inspiration - using it hides it appropriately. It works fine if a GM runs it, but a player targeting a non-controlled token breaks it) (Not a big deal if it can't) Thanks everyone for their time, help & input!