You need a blank (no graphic) page to switch the event to when the new team member is added. Without that s/he will keep standing there even after joining.
Add another event page that makes the event you're talking to have no graphic, which activates upon the condition that party member is in your party.
That is not a script. It is an event. Be very careful to use the correct terms as they mean VERY different things in RPG Maker.
I can only see part of the event, and it doesn't include the command to add him to the party or what you do afterwards. So I am going on an assumption here and saying you simply need a third page with no sprite, conditioned by a self switch. After adding him to your party, turn on the self switch.
Thanks guys! I got it to work now! It was as all of you said actually, I simply needed a third page with no sprite. I appreciate the help!
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.