WoW:API GetGMTicketCategories

From AddOn Studio
Revision as of 20:39, 17 May 2006 by WoWWiki>Mikk (→‎Example: Better example...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
GetGMTicketCategories -Documentation by Mikk-

Get the list of available GM ticket categories.

category1, category2, ... = GetGMTicketCategories()

Parameters

Returns

A variable number of categories (Strings).


Example

function ShowAllMyArgs(...)
  for i=1,getn(arg) do
    DEFAULT_CHAT_FRAME:AddMessage( arg[i] );
  end
end

ShowAllMyArgs( GetGMTicketCategories() );

Displays all available GM ticket categories in the chat window.



Template:WoW API