summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-26 08:03:03 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-26 08:03:03 +0000
commit30251c21f6e8f643a52034caf2e433111b0849ce (patch)
treeb2967c03ba25802ee295459d90dc53204873fdab /doc
parent654b42c63b3b3c95e7f454dac1441696aa5fb92d (diff)
downloadhercules-30251c21f6e8f643a52034caf2e433111b0849ce.tar.gz
hercules-30251c21f6e8f643a52034caf2e433111b0849ce.tar.bz2
hercules-30251c21f6e8f643a52034caf2e433111b0849ce.tar.xz
hercules-30251c21f6e8f643a52034caf2e433111b0849ce.zip
* Fixed typo in skill.c: skill_clear_group
* Fixed command descriptions in script_commands.txt * Cosmetic changes to script.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6289 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index b095ce5bd..7c0822bb8 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -5079,7 +5079,7 @@ Note: rid2name may not produce correct character names since rid = account id.
---------------------------------------
*function <function name>;
-*<function name>();
+*<function name>;
*function <function name> {
<code>
}
@@ -5087,9 +5087,8 @@ Note: rid2name may not produce correct character names since rid = account id.
(Skotlex stop being so selfish and give us all the commands T~T! J/k lol :P)
This works like callfunc, but doesn't support arguments like callfunc. It's used for cleaner
-and fast script that doesn't require arguments for it to work. Labels must start with SF_
-(SubFunctions I guess). Also they must be inside a script. They're not separated scripts
-and they work more like labels.
+and fast script that doesn't require arguments for it to work. Also they must be inside a script.
+They're not separated scripts and they work more like labels.
Note it looks like the normal declaration
@@ -5097,7 +5096,7 @@ Usage:
You first Declare the function with function <function name>;.
-Put the rest of your code. You can use then <function name>(); to call the function. If it returns a value is unsure,
+Put the rest of your code. You can use then <function name>; to call the function. If it returns a value is unsure,
test it if you want and give us some comments ;3
And at least, but inside the script itself, put the function <function name> {<code>}.
@@ -5114,7 +5113,7 @@ next;
if (Zeny > 50) && (BaseLevel > 50) {
mes "Welcome";
next;
- SF_Selling();
+ SF_Selling;
close;
} else
@@ -5145,6 +5144,7 @@ function SF_Selling {
close;
}
}
+ return;
}