Hi scripting wizards! Nearly a decade ago, someone came out with what looks like a great script to limit character movement based on their speed. From what I can surmise, it worked by displaying a brief aura that showed their maximum movement based on speed, and prevented movement outside of said aura. Each time the token was dropped within the aura, the remaining movement was calculated and the respective aura reduced in size until there was no movement left. The script is like 8 years old and no longer seems to be working. Upon import, nothing occurs, no initial API errors, no commands work, nothing appears to "load". However, after fiddling with tokens in roll20 and eventually returning to the API manager, i can see the following: ReferenceError: results is not defined
ReferenceError: results is not defined
at GetCharSpeed (apiscript.js:7609:5)
at apiscript.js:7162:17
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 TrackedObj.set (/home/node/d20-api-server/api.js:1078:14)
at updateLocalCache (/home/node/d20-api-server/api.js:1421:18)
at /home/node/d20-api-server/api.js:1713:7
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)
at Kd (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:546) Is there any interest in refurbishing this script so it works under the current version of roll20? I would love to use this script as I have issues with players fudging movement.