P4Name
From M.U.G.E.N Wiki
Trigger: P4Name(*,***)
Same as P1Name, except that this returns the name of the secondary opponent, if present.
If there is no secondary opponent, then p4name = "name" returns 0 no matter what name is specified. Similarly, p4name != "name" will return 1 no matter what name is specified.