From a337fe03f0d79b3f091ccbb4c1e6d10212910615 Mon Sep 17 00:00:00 2001 From: euphyy Date: Sun, 30 Dec 2012 02:05:43 +0000 Subject: * Added Somotology Laboratory F4 quest (written by Ziu, translated by Heris, uses some iRO dialogues). * Updated quest_db with Somotology Laboratory F4 entries (5113-5125 are placeholders, may be incorrect). * Moving of warp files, reducing the number of duplicates in pre-re/re paths. * Added a note to documentation (bugreport:7065) and fixed a small mistake (bugreport:7068). * Follow-up r17056, missing $ (bugreport:7067) and added a missing item. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17063 54d463be-8e91-2dee-dedb-b68131a5f0ec --- doc/script_commands.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'doc/script_commands.txt') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 3aaba5b50..7eb70210d 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -844,9 +844,10 @@ execution with 'goto', 'menu' and 'jump_zero' commands, invoked with 'doevent' and 'donpcevent' 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. 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: +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: OnClock: OnMinute: @@ -1645,6 +1646,7 @@ result in error and termination of the script. This works like callfunc, and is used for cleaner and faster scripting. The function must be defined and used within a script, and works like a label with arguments. +Note that the name may only contain alphanumeric characters and underscore. Usage: @@ -3631,7 +3633,7 @@ in February 2005, but it will work just fine in normal NPC scripts. This function is similar to 'isequipped', but instead of 1 or 0, it will return the number of cards in the list given that were found on the invoking character. - if (isequippedcnt(4001,4005,4033,4196)=4) mes "Finally got all four poring cards?"; + if (isequippedcnt(4001,4005,4033,4196) == 4) mes "Finally got all four poring cards?"; --------------------------------------- -- cgit v1.2.3-70-g09d2