Thread: AddMessage
View Single Post
08-09-10, 12:35 PM   #5
weasoug
A Flamescale Wyrmkin
 
weasoug's Avatar
AddOn Author - Click to view addons
Join Date: May 2010
Posts: 127
Post

Originally Posted by Slakah View Post
you copied me wrong it should be
lua Code:
  1. ChatFrame2:AddMessage(wname.." pinged by: |cffFF0000" .. ping_name .. "|r")
not
lua Code:
  1. function call:ChatFrame2:AddMessage(wname.." pinged by: |cffFF0000" .. ping_name .. "|r")
i see. and that can be changed in the numbers you said on a past post. ie 1.to 10 ect.

ty again

ps. makes me think if i can make a name for it.

like

ChatFrame2:AddMessage()

to
local pop = ChatFrame2
then others can change from 2 to what chat channel they want to.


and this i will have in one long line of code. as i would change from 5 lines to one line.

pop:AddMessage()

Last edited by weasoug : 08-09-10 at 12:44 PM.
  Reply With Quote