[XP] giving the allies AI commands

i want my allies to give actions of their own, like in Persona 5

examples:
* Act Freely
Makes the AI do random actions
* Full Assault
Makes the AI attack relentlessly with strong attacks
* Heal/Support
Makes the AI do healing/support skills more frequently to help their team
* Conserve HP/SP
Makes the AI do normal attacks without using up their skills that costs HP/SP
and lastly...
* Direct Commands
Grants control on allies and giving commands on the player

it goes like this:
Leader: Always controlled by the player
Ally 1: Act Freely
Ally 2: Full Assault
Ally 3: Heal/Support
---------------------------------------------------------------------------------------------------
the closest thing is here but both links are dead in here...
and also try adding this idea into the SG Auto Battle Script
i searched on google but most of the AI Scripts are VX (Ace) and MV...
can anyone find or make a script for XP?
bump...
anyone help me?

MarioWidjaya123, please do not bump your topic unless it has been 24 hours later since your last post. You can review our forum rules here. Thank you.

@slimmmeiske2 k sorry...
bump.
anyone can help me plz???
Was able to find another link through Google:
@KK20 this one is a little more advanced than the one i asked.
and this script needs other scripts to support it, it might have a chance to break the game im making.
Frankly, what you're asking for is already advanced as there is not really any built-in solution the default scripts use. Either you learn the script or move on; no one is going to make a new script for this request.
I have to side with KK20 on this one; this is the kind of script I would charge for writing.
its ok im trying to make my game as good as possible.
btw @KK20 i see that XP Ace thing on you, is that something
where you make XP compatible with VX Ace scripts? just a guess.
No, it's for making XP games run on VXA's Game.exe (use a higher version of Ruby/access to RGSS3 methods, better performance, etc.). You can't use scripts designed for VXA with it.

Not recommended for total beginners to use as it assumes you have an understanding of how scripts work.
@KK20 ah, okay.

Original thread: https://forums.rpgmakerweb.com/threads/xp-giving-the-allies-ai-commands.123193/