Wikia

WoWWiki

API IsGuildLeader

Talk0
100,525pages on
this wiki
Revision as of 19:25, November 12, 2010 by Coder62 (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
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.
Advertisement | Your ad here

Around Wikia's network

Random Wiki