C>S 0x0E SID_CHATCOMMAND

Transport Layer: Transmission Control Protocol (TCP)
Application Layer: Battle.net v1 TCP Messages (SID)
Message Id: 0x0E
Message Name: SID_CHATCOMMAND
Direction: Client to Server
Used By:
Starcraft OriginalStarcraft BroodwarStarcraft SharewareStarcraft JapaneseDiablo RetailDiablo SharewareDiablo IIDiablo II Lord of DestructionWarcraft II BNEWarcraft III Reign of ChaosWarcraft III The Frozen Throne
Message Format:
(does not include protocol header)
(STRING) Text *

Remarks

Send text or a command to Battle.net using this packet.

For STAR/SEXP/SSHR/JSTR, Text is UTF-8 encoded (WIDESTRING).

It is generally accepted as unwise to send any character below a space (0x20): this includes line feeds, carriage returns & control characters. The maximum number of characters is 224 per message including the null-terminator (so really only 223 characters), any longer and it becomes trimmed by Battle.net.

If you send a line feed and/or a carriage return, Battle.net disconnects you and IP bans you for 5 minutes.

🔖diablodiablo-iidiablo-ii-lord-of-destructionstarcraftstarcraft-broodwarstarcraft-japanwarcraft-iiwarcraft-iii-reign-of-chaoswarcraft-iii-the-frozen-throne
Anonymous

Comments

Caaaaarrrrlll

It is possible to use %f# instead of usernames where # is the number from your friends list. This works with /w, /f, and basically any place you'd use a username. See the bottom of this page (archived copy) for more info.