diff options
| author | win32 <> | 2010-01-21 11:19:34 +0200 |
|---|---|---|
| committer | win32 <> | 2010-01-21 11:19:34 +0200 |
| commit | 19ac6f6a3c5385d85edc5c831cd20d6e8ee406b8 (patch) | |
| tree | d060f457e94b4270986f648877c3984de2152ba2 /sql/updates | |
| parent | ce620223eba6857226e85c128f82546f89d3a760 (diff) | |
Implement new commands for add/remove/lookup titles.
Autor Vladimir.
--HG--
branch : trunk
Diffstat (limited to 'sql/updates')
| -rw-r--r-- | sql/updates/7134_world_command.sql | 9 | ||||
| -rw-r--r-- | sql/updates/7134_world_trinity_string.sql | 11 |
2 files changed, 20 insertions, 0 deletions
diff --git a/sql/updates/7134_world_command.sql b/sql/updates/7134_world_command.sql new file mode 100644 index 00000000000..442bced945a --- /dev/null +++ b/sql/updates/7134_world_command.sql @@ -0,0 +1,9 @@ +DELETE FROM command where name IN ('character titles','modify titles','titles add','titles current','titles remove','lookup title'); + +INSERT INTO `command` VALUES +('character titles',2,'Syntax: .character titles [$player_name]\r\n\r\nShow known titles list for selected player or player find by $player_name.'), +('titles add',2,'Syntax: .titles add #title\r\nAdd title #title (id or shift-link) to known titles list for selected player.'), +('titles current',2,'Syntax: .titles current #title\r\nSet title #title (id or shift-link) as current selected titl for selected player. If title not in known title list for player then it will be added to list.'), +('titles remove',2,'Syntax: .titles remove #title\r\nRemove title #title (id or shift-link) from known titles list for selected player.'), +('titles setmask',2,'Syntax: .titles setmask #mask\r\n\r\nAllows user to use all titles from #mask.\r\n\r\n #mask=0 disables the title-choose-field'), +('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.');
\ No newline at end of file diff --git a/sql/updates/7134_world_trinity_string.sql b/sql/updates/7134_world_trinity_string.sql new file mode 100644 index 00000000000..32b0887888d --- /dev/null +++ b/sql/updates/7134_world_trinity_string.sql @@ -0,0 +1,11 @@ +DELETE FROM mangos_string WHERE entry in (349, 350, 351, 352, 353, 354, 355, 356); + +INSERT INTO mangos_string VALUES + (349,'%d (idx:%d) - |cffffffff|Htitle:%d|h[%s %s]|h|r %s %s ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL), + (350,'%d (idx:%d) - [%s %s] %s %s ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL), + (351,'No titles found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL), + (352,'Invalid title id: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL), + (353,'Title %u (%s) added to known titles list for player %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL), + (354,'Title %u (%s) removed from known titles list for player %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL), + (355,'Title %u (%s) set as current seelcted title for player %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL), + (356,'Current selected title for player %s reset as not known now.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); |
