diff options
author | Bertram <yohanndotferreiraatorange.fr> | 2010-04-22 23:55:44 +0200 |
---|---|---|
committer | Bertram <yohanndotferreiraatorange.fr> | 2010-04-23 00:03:52 +0200 |
commit | 93d4de19fdffb6d568c907729449f169c3520c7b (patch) | |
tree | 843c3681d43be976d1f9ad179ce271c6d0d89942 /src/commandhandler.cpp | |
parent | 3c6fac14b67b86e2af9bbcac9e017f4b485e8149 (diff) | |
download | mana-93d4de19fdffb6d568c907729449f169c3520c7b.tar.gz mana-93d4de19fdffb6d568c907729449f169c3520c7b.tar.bz2 mana-93d4de19fdffb6d568c907729449f169c3520c7b.tar.xz mana-93d4de19fdffb6d568c907729449f169c3520c7b.zip |
Add documentation for the /away command.
Reviewed by Jaxad0127
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r-- | src/commandhandler.cpp | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp index 80a3b99f..dab51c8f 100644 --- a/src/commandhandler.cpp +++ b/src/commandhandler.cpp @@ -169,9 +169,13 @@ void CommandHandler::handleHelp(const std::string &args, ChatTab *tab) tab->chatLog(_("/msg > Send a private message to a user")); tab->chatLog(_("/whisper > Alias of msg")); tab->chatLog(_("/w > Alias of msg")); - tab->chatLog(_("/query > Makes a tab for private messages with another user")); + tab->chatLog(_("/query > Makes a tab for private messages " + "with another user")); tab->chatLog(_("/q > Alias of query")); + tab->chatLog(_("/away > Tell the other whispering players " + "you're away from keyboard.")); + tab->chatLog(_("/ignore > ignore a player")); tab->chatLog(_("/unignore > stop ignoring a player")); @@ -181,9 +185,12 @@ void CommandHandler::handleHelp(const std::string &args, ChatTab *tab) tab->chatLog(_("/createparty > Create a new party")); tab->chatLog(_("/party > Invite a user to party")); - tab->chatLog(_("/record > Start recording the chat to an external file")); - tab->chatLog(_("/toggle > Determine whether <return> toggles the chat log")); - tab->chatLog(_("/present > Get list of players present (sent to chat log, if logging)")); + tab->chatLog(_("/record > Start recording the chat " + "to an external file")); + tab->chatLog(_("/toggle > Determine whether <return> " + "toggles the chat log")); + tab->chatLog(_("/present > Get list of players present " + "(sent to chat log, if logging)")); tab->chatLog(_("/announce > Global announcement (GM only)")); @@ -194,7 +201,8 @@ void CommandHandler::handleHelp(const std::string &args, ChatTab *tab) else if (args == "help") // Do this before tabs so they can't change it { tab->chatLog(_("Command: /help")); - tab->chatLog(_("This command displays a list of all commands available.")); + tab->chatLog(_("This command displays a list " + "of all commands available.")); tab->chatLog(_("Command: /help <command>")); tab->chatLog(_("This command displays help on <command>.")); } @@ -252,6 +260,14 @@ void CommandHandler::handleHelp(const std::string &args, ChatTab *tab) tab->chatLog(_("This command tries to make a tab for whispers between" "you and <nick>.")); } + else if (args == "away") + { + tab->chatLog(_("Command: /away <afk reason>")); + tab->chatLog(_("This command tells " + "you're away from keyboard with the given reason.")); + tab->chatLog(_("Command: /away")); + tab->chatLog(_("This command clears the away status and message.")); + } else if (args == "createparty") { tab->chatLog(_("Command: /createparty <name>")); |