
hello guys! I've made my initiative tracker function as my energy system. I'm trying to make it increase by 3 but then stop once it reaches 10. but right now all it does is reset completely to 10. plus 3. Where did i go wrong? (i think i might have made it more complex then it needs to be?) here is my code: [[{@{selected|APTotal} }-@{selected|APSpent} &{tracker:+3}]] !setattr --sel --APSpent| 0