Talk:API SendChatMessage
More actions
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"))