How to make first character not appear during battles

So basically i want to make a monster tamer style game. and to do the the characters player cant show up in battles to fight. I could just use events to remove the player but i want them to gain experience from won battles to. Sugestions?
Maybe try this

Code:
class Game_Party  def battle_members    all_members[1, max_battle_members].select {|actor| actor.exist? }  endend
This will skip the first member... As for giving them exp, check the Reserve Members EXP on the system tab of the database
sorry where would i put this? I'v never used battle related scripts before.
make a blank script on the script editor below Materials... and paste it there
\o/ it works greate ty so much

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-first-character-not-appear-during-battles.36868/