Add Skill Type only when multiple Actors are in the Party

I want to have a separate Skill Type for dual techs (all other skill types are grouped into one menu), but I only want it to appear in the battle menu if there are multiple actors in the party, because it can't be used otherwise.

I figure the best way to accomplish this is to have every actor auto-run a Common Event that checks how many actors are in the party. If it's more than 1, it adds the dual tech skill type. Otherwise, it does nothing. But there doesn't appear to be a way to check how many actors are in the party.

Any suggestions?
You could use Victor Engine's Command Replace Plugin to hide the command if there aren't multiple actors in the party


Code:
<command replace: 'Dual Techs', ''>
$gameParty.members().length <= 1 ? result = true : result = false
</command replace>
Code:
$gameParty.members().length <= 1 ? result = true : result = false
Good call. The code could be slightly more efficiently written as:
Code:
result = $gameParty.members().length<=1;
I had a very similar brain fart a few days ago 😛
That works perfect! This plugin will also help with similar things like Yanfly's Party Switch. Thank you so much!

Original thread: https://forums.rpgmakerweb.com/threads/add-skill-type-only-when-multiple-actors-are-in-the-party.140919/