API IsGuildLeader

guildleader = IsGuildLeader This function checks to see if player is a guild master and returns the appropriate result.

Arguments

 * none

Returns

 * guildleader : 1 if the player is a guild master, otherwise false.

Example
if (IsGuildLeader == true) then DEFAULT_CHAT_FRAME:AddMessage("You are a Guild master"); else DEFAULT_CHAT_FRAME:AddMessage("You are not a Guild master"); end

Result
Displays a message stating if you are a guild master or not.