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