WoW API: IsRaidLeader

Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API IsRaidLeader to API IsRaidLeader without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < IsRaidLeader

 isLeader = IsRaidLeader() 

Determines if the player is a raid leader himself.

ReturnsEdit

isLeader
1 if the player is the raid leader, otherwise nil


ExampleEdit

 if (IsRaidLeader())
     DEFAULT_CHAT_FRAME:AddMessage ("I am the Raid Leader.");
 elseif not (IsRaidLeader())
     DEFAULT_CHAT_FRAME:AddMessage ("I am not the Raid Leader.");
 end

NotesEdit

Chances are you came to this function looking for a rank check system for your raid, this function will probably not cut it however GetRaidRosterInfo() can handle this