Lua - MessageFrame:AddMessage
Lua - MessageFrame:AddMessage
2011.03.12ref : http://www.wowwiki.com/API_ScrollingMessageFrame_AddMessage Outputs text to a local MessageFrame, with optional color id.- Updated in 2.4.2 MessageFrame에 문자열을 출력한다, 옵션으로 색상 아이디를 포함해서. - 2.4.2 버전부터 지원 MessageFrame:AddMessage(text[,r,g,b[,id][,addToStart]]); Parameters Arguments (String text, Number red, Number green, Number blue, Number id, Boolean addToStart) text The string message to out..
Lua - Control Statement
Lua - Control Statement
2011.02.23Ref : http://www.lua.org/manual/5.1/ * Compare if (left < right) then elseif (left == right) then else end * Loop for i = 1, 10, 1 do end * Loop for array for item in expression do end * Function definition function foo() end * Print message print("Hello world!") ** Wow Register this:RegisterEvent("PLAYER_TARGET_CHANGED")