MZ How to trigger skill after a state has expired

VisuStella State Core: http://www.yanfly.moe/wiki/Skills_and_States_Core_VisuStella_MZ

I was wondering is there a way to trigger a skill once a state expires. For example acter 1 has the state, "Hate" and once that state wears off they use the skill, "Exhale". I tried to use the example I found on MV/MZ Spreadsheet () but it didn't work.

Spoiler: State Notetag
<JS On Expire State>

$gameParty.actorId() === 6;

subject.forceAction(101, -1);

BattleManager.forceAction(subject);

</JS On Expire State>
Try this:

Code:
<JS On Expire State>
 user.forceAction(101, -1);
 BattleManager.forceAction(user);
</JS On Expire State>
Thanks, that code did the trick.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-trigger-skill-after-a-state-has-expired.149815/