MZ Visustella Skill and State Core setting state when TP is at 0

I know I asked this same question for MV (which I don't use anymore) but that was using Yanfly State Core. I was wondering how would I apply a state to an actor if their TP reaches 0 with Visustella's Skill and State Core?
You can apply a passive state by giving it
Code:
<JS Passive Condition>
condition=user.tp==0;
</JS Passive Condition>

If you want to apply a regular state, you'd use troop events.
You can apply a passive state by giving it
Code:
<JS Passive Condition>
condition=user.tp==0;
</JS Passive Condition>

If you want to apply a regular state, you'd use troop events.
Thanks, it works now.

Original thread: https://forums.rpgmakerweb.com/threads/visustella-skill-and-state-core-setting-state-when-tp-is-at-0.153402/