Force a party limit?

I am using a script called Recruiting Board
It allows the user to purchase Mercenaries based on class and level.

I want to make it so that no more the the player and 3 other members can be in any given party.
How would I do that?

((If I placed this in the wrong forum, please tell me where to put it))
Being a paid plugin, you would have to wait for someone else who has purchased it to come along and help.
Although I don't have it I would imagine using notetags like
Code:
<Custom Recruit Enable>
enable = $gameParty.size() <= 3;
</Custom Recruit Enable>
would work, if not try others with
Code:
if ($gameParty.size() <= 3) {
do thing
}
If none of the notetags work you would have to add that check to wherever the recruitment happens in the script itself or make the menu close when at 4 party members or something.
Although I don't have it I would imagine using notetags like
Code:
<Custom Recruit Enable>
enable = $gameParty.size() <= 3;
</Custom Recruit Enable>
would work, if not try others with
Code:
if ($gameParty.size() <= 3) {
do thing
}
If none of the notetags work you would have to add that check to wherever the recruitment happens in the script itself or make the menu close when at 4 party members or something.
The first one works! Thank you for the help!

I've moved this thread to Plugin Support. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/force-a-party-limit.119020/