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

@ -24,7 +24,7 @@ def cmd_password(command):
source_object = command.source_object
if not command.command_argument:
source_object.emit_to("This command requires arguments.")
source_object.emit_to("Usage: @password <oldpass> = <newpass>")
return
if not source_object.is_player():
@ -342,7 +342,7 @@ def cmd_quit(command):
"""
if command.session:
session = command.session
session.msg("Quitting!")
session.msg("Quitting. Hope to see you soon again.")
session.handle_close()
GLOBAL_CMD_TABLE.add_command("quit", cmd_quit)