WoW:API IsInGuild: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
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}}

Revision as of 12:04, 3 January 2007

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