mirror of
https://github.com/evennia/evennia.git
synced 2026-04-02 22:17:17 +02:00
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:
parent
8fbeea99dc
commit
4cee971169
9 changed files with 96 additions and 76 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue