From e93ef06b05c27c7c79b234e331a0d26aa956ba65 Mon Sep 17 00:00:00 2001 From: Matan Shukry Date: Thu, 28 Jan 2021 21:32:36 +0100 Subject: Core/Commands: Implemented command to teleport character to npc Closes #25870 (cherry picked from commit d2be584f99a63a165cfd1d047f460a8ebfb87ac3) --- .../world/master/2022_03_06_07_world_2021_01_28_00_world.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sql/updates/world/master/2022_03_06_07_world_2021_01_28_00_world.sql (limited to 'sql') diff --git a/sql/updates/world/master/2022_03_06_07_world_2021_01_28_00_world.sql b/sql/updates/world/master/2022_03_06_07_world_2021_01_28_00_world.sql new file mode 100644 index 00000000000..60ed2b34c59 --- /dev/null +++ b/sql/updates/world/master/2022_03_06_07_world_2021_01_28_00_world.sql @@ -0,0 +1,11 @@ +DELETE FROM `command` WHERE `name` IN ('tele name npc id','tele name npc guid','tele name npc name'); +INSERT INTO `command` (`name`,`help`) VALUES +('tele name npc id','Syntax: .tele name id #playername #creatureId + +Teleport the given character to first found creature with id #creatureId. Character can be offline.'), +('tele name npc guid','Syntax: .tele name id #playername #creatureSpawnId + +Teleport the given character to creature with spawn id #creatureSpawnId. Character can be offline.'), +('tele name npc name','Syntax: .tele name id #playername #creatureName + +Teleport the given character to first found creature with name (must match exactly) #creatureName. Character can be offline.'); -- cgit v1.2.3