WoW API: GetGMTicketCategories

From AddOn Studio
Revision as of 18:15, 6 January 2007 by WoWWiki>Hobinbot (upgraded deprecated template)
Jump to navigation Jump to search

WoW API < GetGMTicketCategories

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.