WoW API: GetGMTicketCategories

Revision as of 04:45, 15 August 2023 by Move page script (talk) (Move page script moved page API GetGMTicketCategories to API GetGMTicketCategories without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < GetGMTicketCategories

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, select("#",...) do
    DEFAULT_CHAT_FRAME:AddMessage( select(i, ...) );
  end
end

ShowAllMyArgs( GetGMTicketCategories() );

Displays all available GM ticket categories in the chat window.