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

Jul 9, 2008 at 10:21 PM
Edited Jul 10, 2008 at 12: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 6: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 3:07 AM
Thanks for reply :D very handy!