Confirm Commands at the End of Player's Turn

Hi all, very new to posting here, but essentially I'm cobbling together a Free Turn Battle System in MV (much like Yanfly's old VX Ace script) using a couple of scripts, most importantly Yanfly's Battle Status Window which allows the player to give actors commands in whichever order they want, regardless of the formation (Seemingly- It essentially involves skipping and unskipping turns in the Battle Window's code). Add in a bit of instant cast and forced 'tapped' states, and you essentially have a Free Turn Battle System... kind of.


The problem I'm running into is that while using the Status Window plugin if you scroll to the right past the last battler in your formation it'll end the player's turn. This also occurs if the last battler in the formation is given a command (but I honestly kind of like this because it makes formation somewhat meaningful). Currently my trouble-shooting has been using my limited knowledge of JavaScript to attempt to create a conditional for skipping turns based on a the battler's position in the formation, but to my understanding there's not really a way to "check if battler is last in formation" in the code.


So, given the way RPG Maker handles turn order and commands, I'd be incredibly grateful if someone could create a plugin that has the player confirm (Yes or No) whether or not they want to end their turn and execute all actions once all commands have been given (This being something that would apply to the default battle system as well as the illusion of Free Turn that I've created here)


(For reference here is what that status window looks like, and what I mean by scroll past)

Spoiler
QQFTBProbelmEx1.png



The reason I ask for this particular solution is because it seems fairly multi-purpose (so others might get other uses out of it) and works well within the framework of how RPG Maker handles turn order. That said if anyone else has other solutions (or an alternative to using this method altogether) I'm more than open to use them.


TL;DR


A plugin that asks the player (Yes or No) if they would like to execute all of the commands given after the last battler in the formation has been given orders. If no returning the player to the battle menu as though they'd canceled the last command given. If yes executing the battle as normal.
Bump- Again open to other solutions and definitely willing to do a bit of coding on my end, just at a bit of a loss as to where to start with this kind of thing.
I thought Yanfly had a similar plug-in for MV. Couldn't you use that and modify it as needed?
Hmm, just gave all of Yanfly's plugins another look and wasn't able to find something akin to a "Confirm Execution" choice at the end of a player's turn, I could be totally missing one though and would greatly appreciate a link if you know which plugin has this! (As it is I've managed to jury rig several of Yanfly's plugins, namely Status Windows and Instant Cast to get the pseudo free-turn battle working as is, so I'd be more than happy to duct-tape on more!) 
In ACE, Yanfly bundled it with another script, so you had to have that one to get this feature too. I believe the script that did it in ACE was Battle Command List, but could be off.


May have to check all battle command plug-ins and see if there is one that adds this feature as part of it. I know Yanfly didn't widely disclose this feature in ACE, so it's probably hidden (as in,  you may have to download and check it out). Or, they might not have included it. Don't know I'm afraid as I use ACE, but that is the first place I'd look at least. Maybe someone else who uses MV can say more for certain?
Been trying a few of them and sifting through all Yanfly's battle plug-in but no avail. I'm curious if this is something simple to code (As I'd be down to try to fiddle with more coidng myself) or even possible at all and any additional help would be greatly appreciated!
If anybody is interested, I found a solution that would work with a Free Turn Battle-esque system. Instead of a window to confirm the end of turn, the game outright jumps to the next available actor. Make it so all skills "tap" the actor using them and it will work. The solution consists of substituting a BattleManager function called "selectNextCommand" in rpg_managers.js. I'll leave the code here:

BattleManager.selectNextCommand = function() {
do {
if (!this.actor() || !this.actor().selectNextCommand()) {
this.changeActor(this._actorIndex + 1, 'waiting');
if (this._actorIndex >= $gameParty.size()) {
var bool = true;
for(i = 0; i < $gameParty.size() && bool; i++){
if($gameParty.members().canInput()){
bool = false;
this.changeActor(i, 'waiting');
}
}
if(bool){
this.startTurn();
break;
}
}
}
} while (!this.actor().canInput());
};

Original thread: https://forums.rpgmakerweb.com/threads/confirm-commands-at-the-end-of-players-turn.72950/