From 395df76860061939651d696b93d94060590d7a45 Mon Sep 17 00:00:00 2001 From: Rat Date: Fri, 1 Oct 2010 00:07:14 +0200 Subject: Core/Commands: added .debug areatriggers -if turned on it will print the trigger id to chat if you get near it --HG-- branch : trunk --- sql/updates/10132_world_command.sql | 3 +++ sql/updates/10132_world_trinity_string.sql | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 sql/updates/10132_world_command.sql create mode 100644 sql/updates/10132_world_trinity_string.sql (limited to 'sql') diff --git a/sql/updates/10132_world_command.sql b/sql/updates/10132_world_command.sql new file mode 100644 index 00000000000..f4532d65a6e --- /dev/null +++ b/sql/updates/10132_world_command.sql @@ -0,0 +1,3 @@ +DELETE FROM `command` WHERE `name` IN ('debug areatriggers'); +INSERT INTO `command` (`name`,`security`,`help`) VALUES +('debug areatriggers',1,'Syntax: .debug areatriggers\nToggle debug mode for areatriggers. In debug mode GM will be notified if reaching an areatrigger'); \ No newline at end of file diff --git a/sql/updates/10132_world_trinity_string.sql b/sql/updates/10132_world_trinity_string.sql new file mode 100644 index 00000000000..c9a540a26b9 --- /dev/null +++ b/sql/updates/10132_world_trinity_string.sql @@ -0,0 +1,5 @@ +DELETE FROM `trinity_string` WHERE `entry` IN (1202,1203,1204); +INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES +(1202, 'Areatrigger debugging turned on.'), +(1203, 'Areatrigger debugging turned off.'), +(1204, 'You have reached areatrigger %u.'); -- cgit v1.2.3