m
Move page script moved page USERAPI printMSG to WoW:USERAPI printMSG without leaving a redirect
(Displays a custom message to the default chat frame, for the user to see.) |
m (Move page script moved page USERAPI printMSG to WoW:USERAPI printMSG without leaving a redirect) |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{userfunc}} | {{userfunc}} | ||
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. | ||
| Line 14: | Line 13: | ||
=== Returns === | === Returns === | ||
: | :nil | ||
== Example == | == Example == | ||
| Line 32: | Line 30: | ||
__NOTOC__ | __NOTOC__ | ||
[[Category:User | [[Category:User defined functions]] | ||