summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-03-06 01:53:39 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-03-06 01:53:39 +0000
commit4a985246dd9dd3e9f804ddd582deaf4f27cfe2cc (patch)
treea883b0fcfb7f8a78ceaf495d444dd52d2c9f3b54 /doc
parent9e3065240403e5df389a821ca370f1b862e08ba8 (diff)
downloadhercules-4a985246dd9dd3e9f804ddd582deaf4f27cfe2cc.tar.gz
hercules-4a985246dd9dd3e9f804ddd582deaf4f27cfe2cc.tar.bz2
hercules-4a985246dd9dd3e9f804ddd582deaf4f27cfe2cc.tar.xz
hercules-4a985246dd9dd3e9f804ddd582deaf4f27cfe2cc.zip
- Fixed the Pineapple_Juice (12320) should be 20 flee not 10. (bugreport:4074)
- Fixed the strnpcinfo's in halloween_2009. (bugreport:4106) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14260 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt14
1 files changed, 8 insertions, 6 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index dfcfa673f..bbeb8b9ef 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -1124,6 +1124,7 @@ of 'end' stops this, and ends the script.
---------------------------------------
*set <variable>,<expression>;
+*set(<variable>,<expression>)
This command will set a variable to the value that the expression results in.
This is the only way to set a variable directly.
@@ -2240,7 +2241,7 @@ Example:
---------------------------------------
-*getpartyleader(<party id>{,<type>});
+*getpartyleader(<party id>{,<type>})
This function returns some information about the given party-id's leader.
When type is ommitted, the default information retrieved is the leader's name.
@@ -2598,7 +2599,7 @@ Check sample in nps\sample\getiteminfo.txt
---------------------------------------
-*getequipcardid (<equipment slot>,<card slot>);
+*getequipcardid(<equipment slot>,<card slot>)
Returns value from equipped item slot in the indicated slot:
@@ -2615,7 +2616,7 @@ when you want to check item cards or if it's signed. Useful for such quests as
---------------------------------------
-*getitemslots (<item id>);
+*getitemslots(<item id>)
Returns the amount of slots the item has.
@@ -2911,7 +2912,7 @@ the specified event as in a 'doevent' call.
---------------------------------------
-*getmapguildusers <mapname>,<guild id>;
+*getmapguildusers(<mapname>,<guild id>)
Returns the amount of persons from the given guild that are on the given map.
Example(s):
@@ -2919,7 +2920,7 @@ Example(s):
//Will set the @persons variable to the amount of persons from the guild
//which ID's = 10 and are at prontera.
- set @persons,getMapGuildUsers "prontera",10;
+ set @persons,getMapGuildUsers("prontera",10);
---------------------------------------
//
@@ -6483,7 +6484,8 @@ Example:
Creates an invisible wall, an array of "setcell" starting from x,y and doing a
line of the given size in the given direction. The difference with setcell is
-this one update client part too to avoid the glith problem.
+this one update client part too to avoid the glith problem. Directions are the
+same as NPC sprite facing directions: 0=north, 1=northwest, 2=west, etc.
---------------------------------------