WoW:API IsRaidOfficer: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(upgraded deprecated template)
Line 1: Line 1:
{{wowapi}}
== IsRaidOfficer() ==
== IsRaidOfficer() ==


Line 17: Line 18:
----
----
Confirmed: this actually returns true if you have the Assistant rank.
Confirmed: this actually returns true if you have the Assistant rank.
{{WoW API}}

Revision as of 17:29, 6 January 2007

WoW API < IsRaidOfficer

IsRaidOfficer()

Usage

IsRaidOfficer(); 

Will return 1 if the player is a raid officer or 0 if the player is not.

Example

 if (IsRaidOfficer())
 DEFAULT_CHAT_FRAME:AddMessage ("I am a raid officer.");
 elseif not (IsRaidOfficer())
 DEFAULT_CHAT_FRAME:AddMessage ("I am not a raid officer.");
 end

Confirmed: this actually returns true if you have the Assistant rank.