Help creating a custom Action Condition

I'm trying to use the VE- Action Conditions plugin to create a custom action condition. I wan't a certain skill to only be usable when two certain characters are members of the BATTLE party. Not just regular party members but battle members. According to the help file I suppose I need something like...


<custom action condition>
result = SOMETHINGSOMETHINGSOMETHING;
</custom action condition>


I've looked around and found two possible lines of code that may work, but they aren't. They are...


$gameActors.actor(x).isBattleMember()

OR

$game_party.battle_members.include?($game_actors[x])


X would be the character required to be in the battle party before the skill would be usable. Can you guys think of anything? Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/help-creating-a-custom-action-condition.66750/