WoW:API IsInGuild: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
({{wowapi}})
m (Move page script moved page API IsInGuild to API IsInGuild without leaving a redirect)
 

Latest revision as of 04:46, 15 August 2023

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