Party members when you enter a town

Hi!

I want my party members out of my party when I enter a town because I want them to be around the town so the main character can talk to them. But when the main character leaves the town I want the same characters that left the party in again. If I have 4, I have no problem because I throw them all and when the characters leaves I put all of them in again. But if I have more characters I don't know how to do it. Any idea how?

Thank you so much for your help!
Ok, I do something similar in my game but I do it a little bit differently.

In my game you have 100+ playable characters, when you are exploring the worlds outside your star-ship or base, you have your crew on your team, but then when you go to the place where they are all supposed to be at (starship/star base), you can just use the command "turn followers off" to make it so that they don't appear following your character, then you just leave them on your team (if you were looking in the menu), then make your characters as events on the map, and make the event appearance condition that whoever you recruited is in your party.

Screenshot_6.png Screenshot_7.png
Easier than I though! Thank you! My rpg maker is in spanish and that command's name doesn't seemed to do that xD

Original thread: https://forums.rpgmakerweb.com/threads/party-members-when-you-enter-a-town.105814/