Press a button and say some text (in-game), how to?

Jul 9, 2008 at 11:21 PM
Edited Jul 10, 2008 at 1:19 AM

Greetings everybody, I'm new in the community and I love it!

My question would be next, if I press the button, my character has to say the text want it to say! What type of code I should insert for my button, or some little clues please :P I'm beginner with all of this to be honest but I would like my addon to do this task.

Jul 10, 2008 at 7:42 PM
SendChatMessage("Message Goes Here","SAY","Language Here","SAY")

You can change say to "PARTY" and "GUILD", and for "Language Here", put "COMMON", or "ORCISH".
Jul 11, 2008 at 4:07 AM
Thanks for reply :D very handy!