WoW API: ChatFrame

From AddOn Studio
Revision as of 15:49, 4 July 2009 by WoWWiki>Sesshu (Link in a code...)
Jump to navigation Jump to search

WoW API

ChatFrame

-- Print the chat frame number on its respective MessageFrame

for i = 1, NUM_CHAT_WINDOWS do
     getglobal("ChatFrame"..i):AddMessage("This is ChatFrame"..i, 0, 0, 0, 0);
end