This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
features:chat_commands [2019/03/25 00:37] Mavrixio created |
features:chat_commands [2023/12/02 17:08] (current) ItsABadger |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Chat Commands ====== | + | ====== PAGE INFO ALREADY TRANSFERRED TO THE NEW WIKI - Chat Commands ====== |
Chat commands are a shortcut for one of the many tools on Sinfar. \\ | Chat commands are a shortcut for one of the many tools on Sinfar. \\ | ||
** They are rarely the only way to do something ** \\ | ** They are rarely the only way to do something ** \\ | ||
- | ====== How to Use Them ====== | + | ===== How to Use Them ===== |
You just have to make your character speak the chat command. It must always start by an exclamation point (!). | You just have to make your character speak the chat command. It must always start by an exclamation point (!). | ||
+ | \\ \\ | ||
+ | More precisely, their format is as follow: \\ | ||
+ | !<COMMAND NAME>[:PARAM[ PARAM2]...][,COMMAND2]... \\ | ||
+ | (Ok, this may look like a weird syntax and it is but it is well known by shell users: [[http://docopt.org/]]) | ||
+ | \\ | ||
+ | For example: | ||
+ | * !D2 | ||
+ | * !d2 | ||
+ | * !d 2 : 3 | ||
+ | * !MYCOMMAND:yes no my_name, ANOTHER COMMAND: this command takes everything that remains as parameter, yes even this. | ||
+ | Note that: | ||
+ | - The command name is not case sensitive | ||
+ | - Spaces are ignored in the command name part (but not parameters) | ||
+ | - A ":" will end a command name and what follows are parameters | ||
+ | - A "," (comma) will end a command (if the command can be chained, a few can't) and what follows is a new command (or many commands) | ||
+ | - When a command takes many parameters, they are separated by a space | ||
+ | - You can chain multiple parameters with a comma, but some commands can't be chained | ||
- | ==== Brief List ==== | + | ===== Brief List ===== |
Most chat commands can be used from a menu or are documented on the page about the system that they are related to. This is just a "cheat list" and it is far from all commands. | Most chat commands can be used from a menu or are documented on the page about the system that they are related to. This is just a "cheat list" and it is far from all commands. |