Hey, just grabbed this script, maybe I'm using it wrong. I made a rollable table (called cf_blue for my blue crystal floor button images) - I added two items, named 1 & 2, and gave them images from my library. I try to use any of the functions !change-token-img --incr !change-token-image --flip and nothing happens. I check my API window and have this error message. TypeError: Cannot read property 'substring' of undefined
TypeError: Cannot read property 'substring' of undefined
at Roll20Object.TrackedObj._validateAttrs (/home/node/d20-api-server/api.js:787:21)
at Roll20Object.TrackedObj.set (/home/node/d20-api-server/api.js:858:18)
at setImg (apiscript.js:13424:11)
at apiscript.js:13551:39
at Function._.each._.forEach (/home/node/d20-api-server/node_modules/underscore/underscore.js:153:9)
at _.(anonymous function) [as each] (/home/node/d20-api-server/node_modules/underscore/underscore.js:1496:34)
at handleInput (apiscript.js:13526:14)
at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:146:1), <anonymous>:65:16)
at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:146:1), <anonymous>:70:8)
at /home/node/d20-api-server/api.js:1510:12