Trying to use ACT to add custom items to the turn tracker <a href="https://app.roll20.net/forum/post/3346285/script-turn-tracker-automatically-add-custom-item-w-slash-round-calculations/?pageforid=3346527#post-3346527" rel="nofollow">https://app.roll20.net/forum/post/3346285/script-turn-tracker-automatically-add-custom-item-w-slash-round-calculations/?pageforid=3346527#post-3346527</a> I'm trying to add a random number as the 1st parameter but all it does is add 0 to the turn tracker !act +[[1d20+2]] 0 --Aurora And half the time the sandbox crashes when I try this. Your scripts are currently disabled due to an error that was detected. Please make appropriate changes to your script's code and click the "Save Script" button. We will then attempt to start running the scripts again. More info... If this script was installed from the Mod Library, you might find help in the Community API Forum. For reference, the error message generated was: RangeError: Maximum call stack size exceeded
at Function.each (/home/node/d20-api-server/node_modules/underscore/underscore-node-f.cjs:1323:7)
at processMultiOps (eval at <anonymous> (/home/node/d20-api-server/api.js:172:1), <anonymous>:804:7)
at Object.d20.textchat.doChatInput (eval at <anonymous> (/home/node/d20-api-server/api.js:172:1), <anonymous>:1128:4)
at sendChat (/home/node/d20-api-server/api.js:1897:16)
at makeAndSendMenu (apiscript.js:26219:9)
at nextRound (apiscript.js:25966:13)
at doTurnorderChange (apiscript.js:25801:17)
at nextTurn (apiscript.js:25940:9)
at nextRound (apiscript.js:25976:13)
at doTurnorderChange (apiscript.js:25801:17)