Hello, I've installed the 5e OGL companion script and have been testing the !longrest feature. I have also installed the ChatSetAttr script in order to replenish the class resources on the char sheet. I have 4 PC tokens, and for 3 of them the script works as it should, replenishing spells (in the case of a sorc), hit dice and class resources as expected. However, in the case of a paladin character, I get the error listed below when I try to use this !longrest macro (which I borrowed from someone here on the forums - sorry forgot who that was). Thanks for any help you all may be able to provide! Macro: !longrest @{selected|character_name} !setattr --silent --sel --class_resource|@{selected|class_resource|max} !setattr --silent --sel --other_resource|@{selected|other_resource|max} &{template:atk} {{desc=**@{selected|character_name}** *Long Rest Taken* Reset HP, Spell Slots, @{selected|class_resource_name}, @{selected|other_resource_name}}} Error message: TypeError: Cannot read property 'get' of undefined
at longrest (apiscript.js:1431:39)
at handleapicommand (apiscript.js:1156:13)
at apiscript.js:1113:13
at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:151:1), <anonymous>:65:16)
at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:151:1), <anonymous>:70:8)
at /home/node/d20-api-server/api.js:1634: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 Zd.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:400