Fixed some bugs in move reporting. Made feedback from default commands a bit more informative and consistent. Added some more text and error handling to the login commands.

This commit is contained in:
Griatch 2009-09-19 20:48:06 +00:00
parent 8fbeea99dc
commit 4cee971169
9 changed files with 96 additions and 76 deletions

View file

@ -63,7 +63,7 @@ def cmd_list(command):
server = command.session.server
source_object = command.source_object
msg_invalid = "Unknown option. Use one of: commands, flags, process"
msg_invalid = "Usage @list commands|flags|process"
if not command.command_argument:
source_object.emit_to(msg_invalid)
@ -131,4 +131,4 @@ def cmd_stats(command):
stats_dict["things"],
stats_dict["players"],
stats_dict["garbage"]))
GLOBAL_CMD_TABLE.add_command("@stats", cmd_stats),
GLOBAL_CMD_TABLE.add_command("@stats", cmd_stats),