WoW:ChatFrame: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{{stub/API}} | {{stub/API}} | ||
ChatFrame | |||
-- Print the chat frame number on its respective [[Widget_API#MessageFrame|MessageFrame]] | |||
<pre>for i = 1, NUM_CHAT_WINDOWS do | |||
getglobal("ChatFrame"..i):[[API_MessageFrame_AddMessage|AddMessage]]("This is ChatFrame"..i, 0, 0, 0, 0); | getglobal("ChatFrame"..i):[[API_MessageFrame_AddMessage|AddMessage]]("This is ChatFrame"..i, 0, 0, 0, 0); | ||
end</pre> | |||
{{DEFAULTSORT:ChatFrame}} |
Revision as of 12:56, 8 August 2008
← WoW API
ChatFrame
-- Print the chat frame number on its respective MessageFrame
for i = 1, NUM_CHAT_WINDOWS do
getglobal("ChatFrame"..i):[[API_MessageFrame_AddMessage|AddMessage]]("This is ChatFrame"..i, 0, 0, 0, 0);
end