Trying to figure out a switch issue

Hello, RPGmaker XP user here! I know there has to be a way to set my dialogue to recognize a character's presence in the party Ie,, if Bob is the main character, the shop keeper will aknowledge it's Bob vs if the player chooses to play Trish, shopkeeper's wife.

However,I seem to be goofing up somewhere. I only just recently returned to RPGmaker xp, and I've managed to get switches working for doors and chests, tried conditional branches but I think I messed up there, yet this has me stumped. I will post more information on request.
this has nothing to do with switches, but with conditions.

I don't have RMXP installed at the moment, but there should be a condition "actor exists" on map event - that is triggered only if that actor is in the party.
so you make a two-page shop event with the first page the general page and the second one triggered on that actor.
Thanks, friend! I'm going to try that and will get back to you on it.
I found another way to make it work, but you helped a lot, thank you!

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-figure-out-a-switch-issue.120543/