I have been tampering with the macro function and character sheet only for a weekend. I have messed with coding in other languages but my work with this site has lead to the most I have every dipped into Javascript. My objective is to be able to edit a variable (an attribute value, a buff toggle Boolean, etc) from a macro. The idea is to use something to the effect of @{selected|variable}=#/Equation (ex. @{selected|repeating_buff_$0_buff-enable_toggle} = 1). Due to my lack of experience with Java, I'm uncertain what the syntax for editing the value of said variable. Currently, the example macro outputs "0=1" into the chat log if toggled off, "1=1" if on, standard for a Boolean with the string "=1" added to the end. After toying with the Codecademy link in the Wiki's API: Intro page for a few hours, I am still no closer to a solution. My main questions are: A.) Is this able to be done without having to gain an external API? B.) What is the proper syntax for changing said variables, API or not? Background for this situation: I'm playing a Barbarian and have the Rage class feature set up as a buff. I would like to toggle this using one or more macros, even if it was with 2 separate macros with one turning it on and the other turning it off. I have several friends in this campaign who would benefit with this macro capability, one of which being a Hunter who has access to 12 different buffs from the Animal Focus class ability, making referring to the sheet to toggle them manually cumbersome. After mostly resigning my fate to shift between sheet and map, I was attempting to add a macro for said Hunter to make the standard bow attack that would follow up by reducing the value of the attribute listed to count her arrows by 1. Same problem, but same solution at least. Ideally, I'd like not to work with external API, but if it must be so, then so be it.