Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Talk:API SendChatMessage

Discussion page of API SendChatMessage

This doesn't work in "SAY" for me.

SAY What?

/script SendChatMessage("Hi!", "SAY" ); Works just fine for me.

-- AlexanderYoshi 19:48, 5 Feb 2005 (EST)


Anyone know how to add a line break I tried

/script SendChatMessage("Hi!\nHi!", "SAY" );

but only kicked myself out of wow.


The use of the newline character in any chat message will disconnect a player for WoW. Not sure what patch this was added in. I believe it was added cause people were doing things like

/g hello\n[Guild][PlayerB] I like farts

and making it appear that playerB said something they really didn't.


by minsoul from China-----------

in chinese WOW,as follow:

/script SendChatMessage("Hello", "WHISPER", "通用语", UnitName("target"))

or

/script SendChatMessage("Hello", "WHISPER", UnitName("target"))