WoW:API IsInGuild: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API IsInGuild to API IsInGuild without leaving a redirect)
 
(2 intermediate revisions by 2 users 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
----
{{WoW API}}
[[Category:API Functions|IsInGuild]]
[[Category:API Guild Functions|IsInGuild]]

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