WoW API < IsRaidLeader

 isLeader = IsRaidLeader() 

Determines if the player is a raid leader himself.

Returns[edit | edit source]

1 if the player is the raid leader, otherwise nil

Example[edit | edit source]

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

Notes[edit | edit source]

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

Community content is available under CC-BY-SA unless otherwise noted.