Lead Actor Conditional Branch

Let's say I'm examining a statue, depending on the person that's leading the party, the dialog could be different.

What script would I use in a conditional branch for the game to check the actor in the lead?
$game_party.members[0] would give you the party leader actor object
$game_party.members[0] would give you the party leader actor object
I tried using some conditional branches but they don't seem to work. Since the party has multiple character, I'm looking for the script to check the party's leader. Or did I do something wrong?

EDIT:

It was my fault, It works perfectly fine, thank you. 🙂

EDIT 2:

Actually, after trying it out with a different actor as the leader of the party. It still showed the first actor's dialog instead of the second's.
How are you checking it? Please post a screenshot of the event.
Here's what I tried to do.

actorleadexample.PNG
Change the script in your conditional branch to 

"$game_party.members[0] == $game_actors[x]"

where x = the actor's location in your actor database, eg "1" for Eric, "2" for Natalie. etc.
Change the script in your conditional branch to 

"$game_party.members[0] == $game_actors[x]"

where x = the actor's location in your actor database, eg "1" for Eric, "2" for Natalie. etc.
That works perfectly, thank you. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/lead-actor-conditional-branch.33416/