WoW API: IsInGuild

From AddOn Studio
Revision as of 12:04, 3 January 2007 by WoWWiki>Starlightblunder ({{wowapi}})
Jump to navigation Jump to search

WoW API < IsInGuild

Lets you know whether you are in a guild.

isGuildMember = IsInGuild();

Parameters

Returns

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

Example

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