WoW API: IsInGuild

From AddOn Studio
Jump to navigation Jump to search

WoW API < IsInGuild

Lets you know whether you are in a guild.

isGuildMember = IsInGuild();

Parameters[edit]

Returns[edit]

isGuildMember
Boolean - 1 if you are in a guild, nil otherwise.

Example[edit]

if (IsInGuild()) then
 SendChatMessage("Hi Guild!","GUILD");
end