Fandom

WoWWiki

API IsGuildLeader

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < IsGuildLeader
guildmaster = IsGuildMaster()

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

ParametersEdit

ReturnsEdit

guildmaster 
True if you are a guild master, otherwise false.

ExampleEdit

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

ResultEdit

Displays a message stating if your a guild master or not.

Also on Fandom

Random Wiki