Wikia

WoWWiki

API GetGMTicketCategories

Talk0
101,278pages on
this wiki
Revision as of 04:43, June 1, 2008 by Orionshock (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < GetGMTicketCategories

Get the list of available GM ticket categories.

category1, category2, ... = GetGMTicketCategories()

Parameters Edit

Returns Edit

A variable number of categories (Strings).


Example Edit

function ShowAllMyArgs(...)
  for i=1, select("#",...) do
    DEFAULT_CHAT_FRAME:AddMessage( select(i, ...) );
  end
end

ShowAllMyArgs( GetGMTicketCategories() );

Displays all available GM ticket categories in the chat window.



Around Wikia's network

Random Wiki