summaryrefslogtreecommitdiff
path: root/src/commandhandler.cpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-07-14 16:52:59 +0000
committerDavid Athay <ko2fan@gmail.com>2008-07-14 16:52:59 +0000
commit993b43e87e2d53e8ae8ea31c43f04a19613a6d09 (patch)
treeb1edd65e3c1150314160708b4a52141ae95134d7 /src/commandhandler.cpp
parente91747e5025d5e37b2b856e30d6fb5da6968364c (diff)
downloadmana-client-993b43e87e2d53e8ae8ea31c43f04a19613a6d09.tar.gz
mana-client-993b43e87e2d53e8ae8ea31c43f04a19613a6d09.tar.bz2
mana-client-993b43e87e2d53e8ae8ea31c43f04a19613a6d09.tar.xz
mana-client-993b43e87e2d53e8ae8ea31c43f04a19613a6d09.zip
Added admin commands to /help and added registration of party handler
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r--src/commandhandler.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp
index 8f0aa907..8e6003f9 100644
--- a/src/commandhandler.cpp
+++ b/src/commandhandler.cpp
@@ -102,7 +102,6 @@ void CommandHandler::handleAnnounce(const std::string &args)
void CommandHandler::handleHelp(const std::string &args)
{
- chatWindow->chatLog("-- Help --", BY_SERVER);
if (args == "")
{
chatWindow->chatLog("-- Help --");
@@ -126,6 +125,16 @@ void CommandHandler::handleHelp(const std::string &args)
chatWindow->chatLog("Command: /admin <command>");
chatWindow->chatLog("*** only available to a GM ***");
chatWindow->chatLog("This command sends an admin command to the server.");
+ chatWindow->chatLog("<command> can be:");
+ chatWindow->chatLog("reload <db>");
+ chatWindow->chatLog("warp <name> <map> <x> <y>");
+ chatWindow->chatLog("item <name> <id> <quantity>");
+ chatWindow->chatLog("drop <id> <quantity>");
+ chatWindow->chatLog("money <name> <quantity>");
+ chatWindow->chatLog("spawn <id> <quantity>");
+ chatWindow->chatLog("goto <name>");
+ chatWindow->chatLog("recall <name>");
+ chatWindow->chatLog("ban <name> <duration>");
}
else if (args == "announce")
{