hedgewars/uChat.pas
changeset 14383 4edc73fc722c
parent 14371 2ab312c47dc3
child 14783 bbec6b28d072
--- a/hedgewars/uChat.pas	Sat Dec 08 14:02:25 2018 +0100
+++ b/hedgewars/uChat.pas	Sat Dec 08 14:10:42 2018 +0100
@@ -589,6 +589,15 @@
         exit
         end;
 
+    if (copy(s, 2, 9) = 'help room') then
+        begin
+        if (gameType = gmtNet) then
+            SendConsoleCommand('/help')
+        else
+            AddChatString(#0 + shortstring(trcmd[sidCmdHelpRoomFail]));
+        exit;
+        end;
+
     if (copy(s, 2, 4) = 'help') then
         begin
         AddChatString(#3 + shortstring(trcmd[sidCmdHeaderBasic]));
@@ -608,6 +617,8 @@
         AddChatString(#3 + shortstring(trcmd[sidCmdHistory]));
         AddChatString(#3 + shortstring(trcmd[sidCmdHelp]));
         AddChatString(#3 + shortstring(trcmd[sidCmdHelpTaunts]));
+        if gameType = gmtNet then
+            AddChatString(#3 + shortstring(trcmd[sidCmdHelpRoom]));
         exit
         end;