summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authoreuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-12-30 02:05:43 +0000
committereuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-12-30 02:05:43 +0000
commita337fe03f0d79b3f091ccbb4c1e6d10212910615 (patch)
tree5602e16d952bf399cb162121fd1faf5b0f66a8d4 /doc
parent2eec605a3bbdf6ec0292e97692b2ffb8790ab227 (diff)
downloadhercules-a337fe03f0d79b3f091ccbb4c1e6d10212910615.tar.gz
hercules-a337fe03f0d79b3f091ccbb4c1e6d10212910615.tar.bz2
hercules-a337fe03f0d79b3f091ccbb4c1e6d10212910615.tar.xz
hercules-a337fe03f0d79b3f091ccbb4c1e6d10212910615.zip
* 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
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt10
1 files changed, 6 insertions, 4 deletions
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<hour><minute>:
OnMinute<minute>:
@@ -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?";
---------------------------------------