diff options
| author | Kandera <KanderaDev@gmail.com> | 2012-05-09 10:07:18 -0400 |
|---|---|---|
| committer | Kandera <KanderaDev@gmail.com> | 2012-05-09 10:29:06 -0400 |
| commit | d6d45633c8ca34176d066755ba8be182b1ed7ac7 (patch) | |
| tree | a9ec71b8687e838badced8cf0f497925249e1732 /sql | |
| parent | 1fec4a5af240699758330fa4be0108ba00003878 (diff) | |
Core/Commands: Add level 3 command for setting npc data. used for testing scripts.
Diffstat (limited to 'sql')
| -rw-r--r-- | sql/updates/world/2012_05_09_01_world_commands.sql | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/updates/world/2012_05_09_01_world_commands.sql b/sql/updates/world/2012_05_09_01_world_commands.sql new file mode 100644 index 00000000000..dcd4c9130eb --- /dev/null +++ b/sql/updates/world/2012_05_09_01_world_commands.sql @@ -0,0 +1,8 @@ +DELETE FROM `trinity_string` WHERE `entry` = 555; +INSERT INTO `trinity_string` (`entry`,`content_default`) VALUES +(555,"SetData performed on [GUID: %u, entry: %u, name: %s] Field: %u, Data: %u, with %s"); + +DELETE FROM `command` WHERE `name` = "npc set data"; +INSERT INTO `command` (`name`,`security`,`help`) VALUES +("npc set data", 3, "Syntax: .npc set data $field $data +Sets data for the selected creature. Used for testing Scripting"); |
