From 0f9238ecb1f0706320d71fd658aa6029a49fa6a9 Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 25 Feb 2009 16:47:22 -0600 Subject: [7332] Allow provided target for .distance command using player name or shift-link with guid. Author: VladimirMangos --HG-- branch : trunk --- sql/updates/7332_01_mangos_command.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 sql/updates/7332_01_mangos_command.sql (limited to 'sql/updates') diff --git a/sql/updates/7332_01_mangos_command.sql b/sql/updates/7332_01_mangos_command.sql new file mode 100644 index 00000000000..65248d19c61 --- /dev/null +++ b/sql/updates/7332_01_mangos_command.sql @@ -0,0 +1,6 @@ +ALTER TABLE db_version CHANGE COLUMN required_7331_01_mangos_command required_7332_01_mangos_command bit; + +DELETE FROM `command` WHERE `name` = 'distance'; + +INSERT INTO `command` VALUES +('distance',3,'Syntax: .distance [$name/$link]\r\n\r\nDisplay the distance from your character to the selected creature/player, or player with name $name, or player/creature/gameobject pointed to shift-link with guid.'); -- cgit v1.2.3