I'm creating a number NPCs who have rechargeable abilities. I wanted to create a token macro that would toggle a status on and off whether or not the ability was available, and do it automatically based upon a roll that the macro does. For example: I click the macro button. Macro rolls a 1d6 For a 1 through 5 (or whatever), it sets a token status using the TokenMod script. !token-mod --set statusmarkers|red If it's a 6, it clears the status marker. It appears that conditionals only work with regular math, so I've tried a few other things but can't figure out how to have it actually execute the API script. It either does nothing or spits it out as plain text... First attempt was this: &{template:mancerroll} {{title=title}} {{c1=[[1d2]]}} {{option1=(!token-mod --set statusmarkers|!red)}} {{option2=!token-mod --set statusmarkers|!blue}} But that just ended up spitting the API command out as text. I also tried downloading the Rollable tables and doing stuff with thatbut couldn't get that to work either. Is this feasible to do automatically, or will it require at least some manual intervention? Thanks!