Cleaned up the drop-command's error messages somewhat.

This commit is contained in:
Griatch 2012-10-23 20:39:59 +02:00
parent 87bfb97853
commit fc4d7c92f9
2 changed files with 20 additions and 6 deletions

View file

@ -329,7 +329,9 @@ class CmdDrop(MuxCommand):
# now we send it into the error handler (this will output consistent
# error messages if there are problems).
obj = AT_SEARCH_RESULT(caller, self.args, results, False)
obj = AT_SEARCH_RESULT(caller, self.args, results, False,
nofound_string="You don't carry %s." % self.args,
multimatch_string="You carry more than one %s:" % self.args)
if not obj:
return