Core/Commands: .pinfo improvements

- Allow .pinfo <guid>
- Add map/zone/subzone/phase to output
This commit is contained in:
leak
2011-08-13 13:00:38 +02:00
parent bac78de203
commit 91a3bfe42a
5 changed files with 73 additions and 15 deletions

View File

@@ -0,0 +1,6 @@
DELETE FROM `trinity_string` WHERE `entry` IN (453, 550, 714, 716);
INSERT INTO `trinity_string` (`entry`,`content_default`) VALUES
(453,'Ban time remaining: %s, Banned by: %s, Reason: %s'),
(550,'Mute time remaining: %s'),
(716,'Map: %s, Area: %s'),
(714,'Map: %s, Area: %s, Zone: %s, Phase: %u');

View File

@@ -0,0 +1,2 @@
DELETE FROM `command` WHERE `name` = 'pinfo';
INSERT INTO `command` (`name`, `security`, `help`) VALUES ('pinfo','2','Syntax: .pinfo [$player_name/#GUID]\r\n\r\nOutput account information for selected player or player find by $player_name or #GUID.');