WoW:API IsRaidOfficer

From AddOn Studio
Revision as of 22:09, 2 July 2005 by WoWWiki>Flaye
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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