MV How to make a state that forces an actor to use a specific skill?

I am trying to make a state that will apply below a certain mp threshold (a different problem im working on) and i want this state to force the actor to use a specific move.

I've tried sealing every other skills except for this, and use it with auto battler. However they end up doing nothing if I seal attack despite a perfectly usable skill that cost nothing to use.
I cannot just remove auto battler, as I want it to make them attack anyone in this state at random.
Yanfly Jump

This uses Yanfly's BuffandStates plugin, but you can adapt the second part this Skill to do what you want... I've done it on more than a few of my Skills to give them added layers.
additionally...
I've tried sealing every other skills except for this, and use it with auto battler. However they end up doing nothing if I seal attack despite a perfectly usable skill that cost nothing to use.
if you keep autobattle so that the player doesnt have to input the action, you can do something along the lines of yanfly's pokemon paralyze to replace their action with your designated attack by using setSkill, and then...
I am trying to make a state that will apply below a certain mp threshold (a different problem im working on)
make that state a passive state for the actor that triggers when theyre below that MP threshold via the auto passive states plugin

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-state-that-forces-an-actor-to-use-a-specific-skill.182146/