From 8272affe92fce922ffc898930bcc8d1ce8476bf3 Mon Sep 17 00:00:00 2001 From: secharles Date: Fri, 28 Dec 2012 01:05:30 +0000 Subject: Script/Commands: New command: lookup spell id #spellid Command to allow to know spell names based on id Example: lookup spell id 686: 686 - [Shadow Bolt rank 1 esES] [know] Closes #8800 Signed-off-by: Nay --- sql/updates/world/2012_12_28_00_world_command.sql | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 sql/updates/world/2012_12_28_00_world_command.sql (limited to 'sql/updates/world') diff --git a/sql/updates/world/2012_12_28_00_world_command.sql b/sql/updates/world/2012_12_28_00_world_command.sql new file mode 100644 index 00000000000..6de970d3b81 --- /dev/null +++ b/sql/updates/world/2012_12_28_00_world_command.sql @@ -0,0 +1,3 @@ +DELETE FROM `command` WHERE `name` LIKE 'lookup spell id'; +INSERT INTO `command` (`name`, `security`, `help`) VALUES +('lookup spell id', '3', 'Syntax: .lookup spell id #spellid\n\nLooks up a spell by #spellid, and returns the match with its spell name.'); -- cgit v1.2.3