hedgewars/CCHandlers.inc
changeset 1378 1a391883261d
parent 1356 77ab8735401d
child 1379 39cfee7a5be5
--- a/hedgewars/CCHandlers.inc	Sat Oct 18 13:53:58 2008 +0000
+++ b/hedgewars/CCHandlers.inc	Sat Oct 18 17:01:34 2008 +0000
@@ -297,7 +297,12 @@
 procedure chSay(var s: shortstring);
 begin
 SendIPC('s' + s);
-s:= UserNick + ': ' + s;
+
+if copy(s, 1, 4) = '/me ' then
+	s:= '* ' + UserNick + ' ' + s
+else
+	s:= UserNick + ': ' + s;
+
 AddChatString(s)
 end;