1. So what I wish to do is to make sure a tab pops up every time the player leaves a group or a raid. However, I cannot find any event for this. Help will be greatly appreciated.

    Hytra

    Register PARTY_MEMBERS_CHANGED and RAID_ROSTER_UPDATE and check GetNumPartyMembers and/or GetNumRaidMembers to check and see if you're in a party or raid.