Force State when TP reaches 100

Hello all,

I'm back with another question:
Is there a way to force a battler into a state like "Berserk" when TP reaches 100? I searched around in MZ's database but have come up empty so far.
I've realized that there is a plugin for MV that helps with passive states and forcing them but I haven't found something like that for MZ. It actually feels like that it could be done without a plugin but I can't figure it out.

Thank you!
Can't you just check the TP of your actors with control variables and then in the troop event cause a state with a conditional branch if the variable is at 100? There's probably plugins for that which make it easier though.
VisuStella's Skill and States plugin has passive states and their conditions.
Can't you just check the TP of your actors with control variables and then in the troop event cause a state with a conditional branch if the variable is at 100?
The trick with trying to do it via troop events is that there's not a good condition to use. The closest would be Turn, but then it's only checking at the end of each turn, which isn't helpful if you want your actor to go berserk as soon as their TP hits 100.
Thank you! I got what I wanted through VisuStella's plugin
Soo ... follow up call for help:
I got the effect explained above working on my main character using VizuStella's plugin with the Notetags in the Status:

<JS Passive Condition>

condition =

$gameActors.actor(0001).tp == 100;

</JS Passive Condition>

Now I want to use the same method for a different status for my 3rd character, but the status just doesn't want to trigger. I did the exact same thing as for my main character but changed the 0001 to 0003:

<JS Passive Condition>

condition =

$gameActors.actor(0003).tp == 100;

</JS Passive Condition>

What did I miss?

EDIT: Nevermind, I'm stupid. I forgot to connect Actor and Status in the Actor's Notetag ...

Original thread: https://forums.rpgmakerweb.com/threads/force-state-when-tp-reaches-100.144204/