Ability to control variables within States

I'm looking for a plugin that would allow me to control variables within states.

For example I would like to be able to add or subtract from variables based on what states my characters are currently affected by, these changes would need to be undone once the character no longer has said status.

I'm thinking something along the lines of LadyBaskerville's Equipment Variables plugin, except obviously to be used with states.

I'm certain there is probably something already around that does this but I have been unable to find anything.

Thanks in advance. 🙂
Use yanfly's buffs and states core plugin, and notetags, with a tiny bit of javascript you'll do what you want.
There are notetags for when a state is applied and removed.

There's a sticky in the js boards with the js equivalent to event commands if you don't know how to manipulate game variables in javascript.
Use yanfly's buffs and states core plugin, and notetags, with a tiny bit of javascript you'll do what you want.
There are notetags for when a state is applied and removed.

There's a sticky in the js boards with the js equivalent to event commands if you don't know how to manipulate game variables in javascript.

Thanks for the heads up 🙂
Although I'm having trouble finding the sticky you are talking about... Do you know where exactly I can find it.

Thanks again.
It was in the mv support forums.
https://forums.rpgmakerweb.com/index.php?threads/rpg-maker-mv-script-call-list.46456/

Original thread: https://forums.rpgmakerweb.com/threads/ability-to-control-variables-within-states.95709/