Add .commands alias for help in T5 and T6
This commit is contained in:
+3
-3
@@ -48,15 +48,15 @@ apply to both games.
|
||||
|
||||
## Player commands
|
||||
|
||||
Type `.help` in chat to see available player commands and a short description.
|
||||
Type `.help` or `.commands` in chat to see available player commands and a short description.
|
||||
The response is visible only to the requesting player and works while spectating,
|
||||
before the first spawn. Commands are case-insensitive.
|
||||
Help appears below the health bar for 12 seconds, clear of the timers, zombie
|
||||
counter and health display. Typing `.help` again restarts that display time.
|
||||
counter and health display. Typing either command again restarts that display time.
|
||||
|
||||
| Command | Effect |
|
||||
|---|---|
|
||||
| `.help` | List available commands |
|
||||
| `.help`, `.commands` | List available commands |
|
||||
| `.afk` | Pause with protection |
|
||||
| `.back` | Return from AFK |
|
||||
| `.join` | Join mid-round (newcomers only) |
|
||||
|
||||
@@ -105,7 +105,8 @@ help_chat_listener()
|
||||
if (!isDefined(player) || !isDefined(message))
|
||||
continue;
|
||||
|
||||
if (toLower(message) == ".help")
|
||||
command = toLower(message);
|
||||
if (command == ".help" || command == ".commands")
|
||||
player show_help();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user