WoW API: IsInGuild

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API IsInGuild to API IsInGuild without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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