
Hey I had this script saved, but somehow I lost it. I want to use token-mod to increase bar1 by 12, but I don't want it to exceed the maximum allowable for bar1. How can this be modified to not exceed bar1's maximum? !token-mod {{ --set bar1_value|[[ {@{selected|bar1}+12,0}kh1 ]] --ids @{selected|token_id} }} Thank you!