Alright, i used the syntax you suggested and it kind of worked, in the sense that, using only combat master through the following base command, it works and allows me to simply select a target, however trying to mix it into scriptcards as seen casues the following error Command 1: !cmaster --add ,id=@{target|token_id},condition=prone,duration=1,direction=-1, this works Command 2: !scriptcard{{--@cmaster| _add ,id={& @{target|token_id}}, condition=prone,duration=1,direction=-1 }} this however spits the error below Any thoughts or mistakes im overlooking?
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: TypeError: Cannot read properties of undefined (reading 'get')
TypeError: Cannot read properties of undefined (reading 'get')
at inputHandler (apiscript.js:9466:49)
at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:169:1), <anonymous>:65:16)
at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:169:1), <anonymous>:70:8)
at /home/node/d20-api-server/api.js:1766: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)
at Kd (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:546)
at Id.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:489)
at Ld.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:94:425)
at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:111:461