Simplify check requirement report command results to target and output command user name.

* Provided ChatHandler::GetName for player name/"console command" output dependent from chat/console command call.
* New function for check when command work result send to command target.
* Remove unrequired complexy in mangos string usage in some commands.
This commit is contained in:
VladimirMangos 2008-10-28 13:27:40 +03:00
parent 58bc947ef9
commit 6169f57ab9
7 changed files with 84 additions and 73 deletions

View file

@ -166,8 +166,9 @@ enum MangosStrings
LANG_MAIL_SENT = 169,
LANG_SOUND_NOT_EXIST = 170,
LANG_TELEPORTED_TO_BY_CONSOLE = 171,
// Room for more level 1 172-199 not used
// 171, // not used
LANG_CONSOLE_COMMAND = 172,
// Room for more level 1 173-199 not used
// level 2 chat
LANG_NO_SELECTION = 200,