diff --git a/chat_commands/README.md b/chat_commands/README.md index 5d337b8..9be0ff0 100644 --- a/chat_commands/README.md +++ b/chat_commands/README.md @@ -125,6 +125,14 @@ Prints the server rules in the player's chat. |---| | `!rules` | +## chat_command_text_help.gsc + +Prints how to use the `commands` and the `help command` commands in the player's chat. + +| Example | +|---| +| `!help` | + ## chat_command_wallhack.gsc Toggles wallhack (red boxes) on the targeted player. diff --git a/chat_commands/chat_command_text_help.gsc b/chat_commands/chat_command_text_help.gsc new file mode 100644 index 0000000..ba89a69 --- /dev/null +++ b/chat_commands/chat_command_text_help.gsc @@ -0,0 +1,6 @@ +#include scripts\chat_commands; + +Init() +{ + CreateCommand(level.commands_servers_ports, "help", "text", ["Type " + level.commands_prefix + "commands to get a list of commands", "Type " + level.commands_prefix + "help followed by a command name to see how to use it"]); +} \ No newline at end of file