MZ VisuStella Skills and States Core: Stacking Active States?

As the title says, I'm looking for a way to make certain active states stack (passive states can stack by default, but those won't work for what I have in mind). Some would expire via turn count, others by other methods. I've been told there's a way to do it with VisuStella Skills and States Core (link below), State Displays and the JS On Add State notetag, but as I am not very proficient in JS, I don't know how to go about doing that. If anyone could give me an example notetag to make this work, I'd really appreciate it.

Thanks in advance!

Use this scipt for stacking states: https://www.rpgmakercentral.com/topic/35346-states-ex/

It was made for MV, but also works with MZ. Just beware the loading order.
Use this scipt for stacking states: https://www.rpgmakercentral.com/topic/35346-states-ex/

It was made for MV, but also works with MZ. Just beware the loading order.

I didn't know that one worked for MZ xD. Do you happen to know where in the load order it should go? Visustella has tiers to make the load order intuitive, so around what tier would this one be in?
I didn't know that one worked for MZ xD. Do you happen to know where in the load order it should go? Visustella has tiers to make the load order intuitive, so around what tier would this one be in?
I put it below all other plugins that I used. It worked for me. If you need a custom formula for state damage: https://forums.rpgmakerweb.com/inde...-and-custom-state-damage.127737/#post-1129511

Use them in the order they are listed in the post.
But I suggest using MV anyway, cause there are more scripts for it as of rn. Maybe MZ will become viable in 2 years or so, but rn there are simply not enough plugins.

Original thread: https://forums.rpgmakerweb.com/threads/visustella-skills-and-states-core-stacking-active-states.126754/