MZ skill that forces an actor to use a skill

Hello, I am trying to make a support skill that when used on a party member, forces them to act again, by opening the target party member's skill list and making them choose, but not making it their turn, so the only thing they can do is use a skill. If this can be done, but it works differently that is fine as well, i just want something similar.
So you want the actor to use a skill that locks them to only using certain skills?

Why not just those skills? Why use Skill 1 to force you to use Skill 3 and 4 if you could just select skill 3 or 4?

I know Yanfly had a plugin that allows you to set a skill to not use a turn when used but I can't remember the name of it.
So you want the actor to use a skill that locks them to only using certain skills?
Its not that the the actor locks themself into using a skill, It sounds more like a fire emblem dancer or oranguru's instruct where actor1 makes actor2 act once more, but off of actor1's turn instead of giving actor2 a state with an extra action for use on their next turn

@jimbylomb
I believe itd have to be a custom plugin. Theres a few too many details to deal with without custom code.

- Skills are naturally separated into skill types and the skill window shows skills based on its type. youd need that window to include all of them.
- youd need the selection for that skill to not only ignore the user, but also open up the skill list window once more for a second selection of a skill.
- the list cant be prepopulated because It has to include any skills the target does know and not include what they dont

You could have piece something together with existing plugins like Turan's Eval Tags ot Visustella's Batte Core if it were a specific skill used per actor/class or if it was the last skill used, but providing a direct choice complicates it.

Maybe someone else has an idea using existing plugins.
Oh like FF5 quick spell?
Make the support skill target ally and launch common event with like select item and force action, give hidden items A with skill names and then add to the Window_EventItem includes function to check if you're showing hidden items A and if the target has a skill of that name and can use it:

...
const target = $gameActors.actor($gameTemp.lastActionData(4));
if (itypeId === 3){
return DataManager.isItem(item) && item.itypeId === itypeId && target?.skills().some(skill => skill.name === item.name) && target?.canUse(target.skills().find(skill => skill.name === item.name));
}
...

Then launch the skill with force action script (deduct from the variable id to get skill id from item id depending on your skill/item lists). LOOOL.

Original thread: https://forums.rpgmakerweb.com/threads/skill-that-forces-an-actor-to-use-a-skill.178657/