WoW:USERAPI printMSG: Difference between revisions

m
no edit summary
m (→‎Returns: There is no "null" in Lua.)
mNo edit summary
Line 1: Line 1:
{{userfunc}} <!-- Leave this line in! -->
{{userfunc}}
<center>'''printMSG''' ''- by [[user:Bull3t|Bull3t]] -''</center>


Displays a custom message to the default chat frame, for the user to see. A prefix and suffix can also be added, with ease, in the function. This is just to save you from typing out, ''DEFAULT_CHAT_FRAME:AddMessage("Prefix " .. "Hello world!" .. " Suffix", 1, 1, 1);'' everytime you want to tell the user something.
Displays a custom message to the default chat frame, for the user to see. A prefix and suffix can also be added, with ease, in the function. This is just to save you from typing out, ''DEFAULT_CHAT_FRAME:AddMessage("Prefix " .. "Hello world!" .. " Suffix", 1, 1, 1);'' everytime you want to tell the user something.
Anonymous user