I don't know what code you're using for your gauge, so I'll just pretend that the $gameVariables.value(4) >= 4 part accurately represents your gauge check. In that case, your note tag could look like this:
Code:
<JS Skill Enable>
enabled = $gameVariables.value(4) >= 4 && $gameActors.actor(x).isBattleMember() && $gameActors.actor(y).isBattleMember();
</JS Skill Enable>
You would replace x and y with the IDs of the two actors that you're talking about.
Please clarify. Are you talking about the actions of a specific battler? Or the actions of all battlers? Or the actions of a specific range of battlers?