From 2fb13195ab3e72c52114259e77358b81fc3a9e3d Mon Sep 17 00:00:00 2001 From: AnnieRuru Date: Sun, 15 Nov 2015 21:23:09 +0800 Subject: *Correct the wrong example for *queueopt --- doc/script_commands.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 26ff80e65..a128dd6af 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -9005,7 +9005,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"); --------------------------------------- -- cgit v1.2.3-70-g09d2 From 94ae094436891942d4090355c097075d2d5fe04e Mon Sep 17 00:00:00 2001 From: AnnieRuru Date: Sun, 15 Nov 2015 22:35:40 +0800 Subject: *Fix the misleading label name length --- doc/script_commands.txt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index a128dd6af..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: OnMinute: -- cgit v1.2.3-70-g09d2