Unique party formation interactions

Hello, Im thinking of having my party members interact in different ways, depending on which characters are in the party. For example, I would have one player automatically receive the substitute "special flag" but only towards a certain party member, and only if that party member is in the party of course. Is this achievable without the use of script? If so any ideas on how to get started on it?

Original thread: https://forums.rpgmakerweb.com/threads/unique-party-formation-interactions.15737/