WoW API < IsGuildLeader

guildmaster = IsGuildMaster()

This function checks to see if you are the guild master of a guild and returns the appropriate result.

Parameters[edit | edit source]

Returns[edit | edit source]

True if you are a guild master, otherwise false.

Example[edit | edit source]

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

Result[edit | edit source]

Displays a message stating if your a guild master or not.
Community content is available under CC-BY-SA unless otherwise noted.