MZ Help with force action skill after a state has expired using VisuStella Skills and States Core

Well, I want a skill to activate (force action?) after a state has expired.

I'm trying to use this JS notetag but I'm not really into scripting/coding so I need some help

<JS On Expire State>
code
code
</JS On Expire State>

- Used for: State Notetags
- When a state has expired, run the code added by this notetag.
- The 'user' variable refers to the current active battler.
- The 'target' variable refers to the battler affected by this state.
- The 'origin' variable refers to the one who applied this state.
- The 'state' variable refers to the current state being affected.

I've already tried this:

JavaScript:
<JS On Expire State>
 var skill = 260;
 BattleManager.queueForceAction(user, skill, -2);
</JS On Expire State>

...but it's not working, thinking that it needs more codes than that.

Here's a link to VisuStella MZ Skills and States Core plugin

Any help is really appreciated

Original thread: https://forums.rpgmakerweb.com/threads/help-with-force-action-skill-after-a-state-has-expired-using-visustella-skills-and-states-core.135713/