Lock all skills and equipment for members in the reserve party

I would like to request a script to lock all skills for the members of the reserve party. I have formation locked unless the player is in a town area, but the reserve members can still add equipment/use skills, and I would like to block that.

For example in my game, a player could use a reserve party member to heal and then save their main party's MP by doing so, and I would like to prevent that.

I would not like to remove them completely as I would like them to be in the reserve party for experience.

I apologize for posting for VX Ace scripts, I know it is outdated by now, but I still stick by it.

Original thread: https://forums.rpgmakerweb.com/threads/lock-all-skills-and-equipment-for-members-in-the-reserve-party.126662/