From 1dd1f6db344c403fb6b90d6dff9b19cee73ffc0b Mon Sep 17 00:00:00 2001 From: Machiavelli Date: Sat, 20 Jun 2009 14:16:42 +0200 Subject: * Implement parameter 'reason' for mute command. --HG-- branch : trunk --- sql/updates/1588_world.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 sql/updates/1588_world.sql (limited to 'sql') 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.'); -- cgit v1.2.3