summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-12-18 05:34:49 +0100
committerHaru <haru@dotalux.com>2015-12-18 05:34:49 +0100
commitc4f7383a3657a8937b589df4c35673f863cd775e (patch)
treecf86d8579b9f90914def132a605cfd018536e0ad /doc/script_commands.txt
parent5b4d1acfc7955cbb80c129526abd2948021808fc (diff)
parent94ae094436891942d4090355c097075d2d5fe04e (diff)
downloadhercules-c4f7383a3657a8937b589df4c35673f863cd775e.tar.gz
hercules-c4f7383a3657a8937b589df4c35673f863cd775e.tar.bz2
hercules-c4f7383a3657a8937b589df4c35673f863cd775e.tar.xz
hercules-c4f7383a3657a8937b589df4c35673f863cd775e.zip
Merge branch 'AnnieRuru-request_15' into hercules
Closes #864 as merged
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt12
1 files changed, 5 insertions, 7 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 26ff80e65..b676eb7f4 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -978,12 +978,10 @@ Within executable script code, some lines can be labels:
Labels are points of reference in your script, which can be used to route
execution with 'goto' and 'menu' commands, invoked with 'doevent', 'donpcevent'
and 'callsub' commands and are otherwise essential. A label's name may not be
-longer than 22 characters. (23rd is the ':'.) There is some confusion in the
-source about whether it's 22, 23 or 24 all over the place, so keeping labels
-under 22 characters could be wise. It may only contain alphanumeric characters
-and underscore. In addition to labels you name yourself, there are also some
-special labels which the script engine will start execution from if a special
-event happens:
+longer than 23 characters. (24th is the ':'.) It may only contain alphanumeric
+characters and underscore. In addition to labels you name yourself, there are
+also some special labels which the script engine will start execution from if
+a special event happens:
OnClock<hour><minute>:
OnMinute<minute>:
@@ -9005,7 +9003,7 @@ When the QUEUEOPT_MAPCHANGE event is triggered, it sets a temp char var
@Queue_Destination_Map$ with the destination map name.
Example:
- queueopt(.@queue_id, QUEUEOPT_DEATH, "MyNPC::MyOnQueueMemberDeathEventName");
+ queueopt(.@queue_id, QUEUEOPT_DEATH, "MyNPC::OnQueueMemberDeathEvent");
---------------------------------------