Wikia

WoWWiki

API GetChatWindowMessages

Talk0
98,585pages on
this wiki
Revision as of 18:09, November 2, 2007 by Pcj (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)


Get the chat types received by a chat window.

type1, type2, type3, ... = GetChatWindowMessages(frameId)

Contents

Parameters

Arguments

(frameId)
frameId 
Number - The frame number of the chat frame to be queried (starts at 1).

Returns

type1, type2, type3, ...
type1 
String - The type code of the first chat type received by the window.
type2 
String - The type code of the second chat type received by the window.
type3 
String - The type code of the third chat type received by the window.

Example

This function is best called within a table constructor:
local DefaultMessages = { GetChatWindowMessages(DEFAULT_CHAT_FRAME:GetID()) };
Advertisement | Your ad here

Photos

Add a Photo
62,230photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki