aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorJoeri Thissen <msn@chocochaos.com>2011-08-21 10:40:02 +0200
committerQAston <qaston@gmail.com>2011-08-21 10:40:29 +0200
commit4f1864cfe9d0ad4937bd58bbe421fe9c6cb7426b (patch)
treea7f7b8266c62e95ba7ab0a9132014ea2f074c699 /sql
parent0946843875b62357c66ee805cc932cd56c842ea8 (diff)
Scripts/Commands: Unify .go xy and .go xyz commands, also add orientation parameter to the .go xyz command (so the command is now: .go xyz #x #y [#z [#mapid [#orientation]]])
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/2011_08_21_00_world_command.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/updates/world/2011_08_21_00_world_command.sql b/sql/updates/world/2011_08_21_00_world_command.sql
new file mode 100644
index 00000000000..f0b91cd3dfe
--- /dev/null
+++ b/sql/updates/world/2011_08_21_00_world_command.sql
@@ -0,0 +1,3 @@
+DELETE FROM `command` WHERE `name` = 'go xyz';
+INSERT INTO `command` VALUES
+('go xyz',1,'Syntax: .go xyz #x #y [#z [#mapid [#orientation]]]\r\n\r\nTeleport player to point with (#x,#y,#z) coordinates at map #mapid with orientation #orientation. If z is not provided, ground/water level will be used. If mapid is not provided, the current map will be used. If #orientation is not provided, the current orientation will be used.');