Hello. I've been trying to figure this out for a bit and what searches I have done haven't revealed an answer. I hope the big brains can help even if its a "no can do". I have attributes containing dice values IE 800d10 for an HP range. I've been trying to have TokenMod reference the attribute and set max to the randomly rolled number then the reset command to set the value of the bar to the randomly rolled maximum. I have been getting a "TypeError: Xe is undefined" which I've been interpreting as a reference error. Below is one of the attempts. I have also tried it without the "=" and having @{Selected|forehull} [[@{forehull} ]] and a few other variations. !token-mod {{ -set bar3_max | =[[@{forehull} ]] bar3_reset bar2_max |=[[@{midhull} ]] bar2_reset bar1_max |=[[@{afthull} ]] bar1_reset }} Thank you in advance with any assistance or other form of answer.