WoW:API IsInGuild: Difference between revisions

{{wowapi}}
No edit summary
({{wowapi}})
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}}