WoW API: IsInGuild

WoW API < IsInGuild

Lets you know whether you are in a guild.

isGuildMember = IsInGuild();

ParametersEdit

ReturnsEdit

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

ExampleEdit

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