Chat output in Scrallframe

Jan 27, 2010 at 2:25 PM
Edited Jan 27, 2010 at 3:28 PM

Hello,

how can i make a buttom that will chat in the message box?

I will click on the buttom and it will typing "/help" in the chat.

And the output of "/help" will be displayed in the scrollframe.

 

How can i do that?

 

Edit: Try it with

function say_OnClick(unit, player)
	unit:SendChatMessage(12, 0, "Hallo Welt!, Ich kann reden!")
	
end

 

But it isnt working

 

http://www.wowwiki.com/PrintMSG do not understand^^