I've moved this thread to MV Support (from Game Character Hub). Thank you.
(I've assumed this is for MV because that's what you have chosen for "Primarily Uses" on your profile.)
You can store the leader's actor ID in a variable, then check the value of that variable:
- Control Variables -> Set -> Game Data -> Party -> Member #1.
- Conditional Branch -> Variable.
For example:
◆Control Variables:#0040 Leader ID = Actor ID of the party member #1
◆If:Leader ID = 1
◆Text:None, Window, Bottom
: :Oh wow I'm your biggest fan!
◆
:Else
◆If:Leader ID = 2
◆Text:None, Window, Bottom
: :Who are you?
◆
:Else
◆Text:None, Window, Bottom
: :Hi \P[1]!
◆
:End
◆
:End