[8835] .lookup title command DB description for prev commits.

This commit is contained in:
VladimirMangos 2009-11-19 08:22:23 +03:00
parent 876eb401ad
commit d27f889b2b
5 changed files with 12 additions and 3 deletions

View file

@ -24,7 +24,7 @@ CREATE TABLE `db_version` (
`version` varchar(120) default NULL,
`creature_ai_version` varchar(120) default NULL,
`cache_id` int(10) default '0',
`required_8833_02_mangos_command` bit(1) default NULL
`required_8835_01_mangos_command` bit(1) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
--
@ -642,6 +642,7 @@ INSERT INTO `command` VALUES
('lookup spell',3,'Syntax: .lookup spell $namepart\r\n\r\nLooks up a spell by $namepart, and returns all matches with their spell ID\'s.'),
('lookup taxinode',3,'Syntax: .lookup taxinode $substring\r\n\r\nSearch and output all taxinodes with provide $substring in name.'),
('lookup tele',1,'Syntax: .lookup tele $substring\r\n\r\nSearch and output all .tele command locations with provide $substring in name.'),
('lookup title',2,'Syntax: .lookup title $$namepart\r\n\r\nLooks up a title by $namepart, and returns all matches with their title ID\'s and index\'s.'),
('maxskill',3,'Syntax: .maxskill\r\nSets all skills of the targeted player to their maximum VALUESfor its current level.'),
('modify arena',1,'Syntax: .modify arena #value\r\nAdd $amount arena points to the selected player.'),
('modify aspeed',1,'Syntax: .modify aspeed #rate\r\n\r\nModify all speeds -run,swim,run back,swim back- of the selected player to \"normalbase speed for this move type\"*rate. If no player is selected, modify your speed.\r\n\r\n #rate may range from 0.1 to 10.'),

View file

@ -0,0 +1,6 @@
ALTER TABLE db_version CHANGE COLUMN required_8833_02_mangos_command required_8835_01_mangos_command bit;
DELETE FROM command where name IN ('lookup title');
INSERT INTO `command` VALUES
('lookup title',2,'Syntax: .lookup title $$namepart\r\n\r\nLooks up a title by $namepart, and returns all matches with their title ID\'s and index\'s.');

View file

@ -162,6 +162,7 @@ pkgdata_DATA = \
8828_02_mangos_instance_template.sql \
8833_01_mangos_mangos_string.sql \
8833_02_mangos_command.sql \
8835_01_mangos_command.sql \
README
## Additional files to include when running 'make dist'
@ -304,4 +305,5 @@ EXTRA_DIST = \
8828_02_mangos_instance_template.sql \
8833_01_mangos_mangos_string.sql \
8833_02_mangos_command.sql \
8835_01_mangos_command.sql \
README