summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-01-12 13:45:31 -0200
committershennetsind <ind@henn.et>2014-01-12 13:45:31 -0200
commitca6454b94bd9e2bcf5ddd9c51bea23d5c2bf6d78 (patch)
tree7ca85ac18bab904eb3833b231cd1aea68d2a5778 /doc/script_commands.txt
parent209d15e07d52a52c110b01f4bad0b52080a69550 (diff)
downloadhercules-ca6454b94bd9e2bcf5ddd9c51bea23d5c2bf6d78.tar.gz
hercules-ca6454b94bd9e2bcf5ddd9c51bea23d5c2bf6d78.tar.bz2
hercules-ca6454b94bd9e2bcf5ddd9c51bea23d5c2bf6d78.tar.xz
hercules-ca6454b94bd9e2bcf5ddd9c51bea23d5c2bf6d78.zip
Updated script_commands.txt
- Updated array size info from 127 to the new +4billion - Improved trader type documentation, thanks to emistry for pointing out some deficiencies! Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt13
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index f5f2d7d9c..9f9dc0049 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -637,8 +637,8 @@ even a value from an another array) to get at an array value:
This will make @arrayofnumbers[100] equal to 10.
-Notice that index numbering always starts with 0. Arrays cannot hold more
-than 128 variables (so the last one can't have a number higher than 127).
+Notice that index numbering always starts with 0. Arrays can hold over
+4 billion variables.
And array indexes probably can't be negative. Nobody tested what happens
when you try to get a negatively numbered variable from an array, but it's
@@ -8508,7 +8508,11 @@ attempts to remove <Item_ID> from the current shop list.
*setcurrency <Val1>{,<Val2>};
-updates the currently attached player shop funds.
+updates the currently attached player shop funds,
+to be used within a "OnCountFunds" event of a NST_CUSTOM trader type.
+
+<Val1> is the value used in the *Cash* Points field
+<Val2> is the value used in the Kafra Points field
---------------------------------------
@@ -8526,7 +8530,8 @@ By default, all npcs staart with tradertype(NST_ZENY);
*purchaseok();
-Signs that the transaction (on a NST_CUSTOM trader) has been successful.
+Signs that the transaction (on a NST_CUSTOM trader) has been successful,
+to be used within a "OnPayFunds" event of a NST_CUSTOM trader.
---------------------------------------