WoW:API IsInGuild: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API IsInGuild to API IsInGuild without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<center>'''IsInGuild''' ''-Documentation by RoQ-''</center>
{{wowapi}} __NOTOC__
 
'''IsInGuild()'''
 
Lets you know whether you are in a guild.
Lets you know whether you are in a guild.
  isGuildMember = IsInGuild();
  isGuildMember = IsInGuild();


----
==Parameters==
;''Arguments''
===Returns===
:;isGuildMember : Boolean - 1 if you are in a guild, nil otherwise.


:;nil
==Example==
 
----
;''Returns''
 
isGuildMember
 
----
;''Example''
  if (IsInGuild()) then
  if (IsInGuild()) then
    SendChatMessage("Hi Guild!","GUILD");
  SendChatMessage("Hi Guild!","GUILD");
  end
  end
----
{{Template:WoW API}}

Latest revision as of 04:46, 15 August 2023

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