diff options
author | Machiavelli <none@none> | 2009-06-20 14:16:42 +0200 |
---|---|---|
committer | Machiavelli <none@none> | 2009-06-20 14:16:42 +0200 |
commit | 1dd1f6db344c403fb6b90d6dff9b19cee73ffc0b (patch) | |
tree | 9dfc12049b134876985299432569c7da94c64318 /sql | |
parent | eab85d9d6e55d66971ac5b816196510a26973d47 (diff) |
* Implement parameter 'reason' for mute command.
--HG--
branch : trunk
Diffstat (limited to 'sql')
-rw-r--r-- | sql/updates/1588_world.sql | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/1588_world.sql b/sql/updates/1588_world.sql new file mode 100644 index 00000000000..d7ccaeaf6d6 --- /dev/null +++ b/sql/updates/1588_world.sql @@ -0,0 +1,9 @@ +# 1588 +DELETE FROM `trinity_string` WHERE `entry` IN(301, 300); +INSERT INTO `trinity_string` (`entry`, `content_default`)VALUES +('300', 'Your chat has been disabled for %u minutes. Reason: %s.'), +('301', 'You have disabled %s\'s chat for %u minutes. Reason: %s.'); + +DELETE FROM `command` WHERE `name` = 'mute'; +INSERT INTO `command` (`name`, `security`, `help`) VALUES +('mute', 1 ,'Syntax: .mute [$playerName] $timeInMinutes [$reason]\r\n\r\nDisible chat messaging for any character from account of character $playerName (or currently selected) at $timeInMinutes minutes. Player can be offline.'); |