From 993b43e87e2d53e8ae8ea31c43f04a19613a6d09 Mon Sep 17 00:00:00 2001 From: David Athay Date: Mon, 14 Jul 2008 16:52:59 +0000 Subject: Added admin commands to /help and added registration of party handler --- src/commandhandler.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/commandhandler.cpp') 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 "); chatWindow->chatLog("*** only available to a GM ***"); chatWindow->chatLog("This command sends an admin command to the server."); + chatWindow->chatLog(" can be:"); + chatWindow->chatLog("reload "); + chatWindow->chatLog("warp "); + chatWindow->chatLog("item "); + chatWindow->chatLog("drop "); + chatWindow->chatLog("money "); + chatWindow->chatLog("spawn "); + chatWindow->chatLog("goto "); + chatWindow->chatLog("recall "); + chatWindow->chatLog("ban "); } else if (args == "announce") { -- cgit v1.2.3-70-g09d2