diff options
author | secharles <jcrequeijopuente@gmail.com> | 2012-12-28 01:05:30 +0000 |
---|---|---|
committer | Nay <dnpd.dd@gmail.com> | 2012-12-28 01:05:56 +0000 |
commit | 8272affe92fce922ffc898930bcc8d1ce8476bf3 (patch) | |
tree | 81922a063864fb017013363d42cd231be4ffe847 /sql | |
parent | a29ec679aed4bc186f70cd3bba1a07226f5de39f (diff) |
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 <dnpd.dd@gmail.com>
Diffstat (limited to 'sql')
-rw-r--r-- | sql/updates/world/2012_12_28_00_world_command.sql | 3 |
1 files changed, 3 insertions, 0 deletions
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.'); |