summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-11-09 17:06:59 -0200
committershennetsind <ind@henn.et>2013-11-09 17:06:59 -0200
commit67fdb6b740ba7f8ee155dff6135e64fd85c21728 (patch)
tree012ebc0497bc2caf317e7c79b2742862ff85bf23 /doc
parent1be53db78a321436d0ebe6093595b769f10874b6 (diff)
parent3f77c349d076cfbc2e9bf14588dce504b949340a (diff)
downloadhercules-67fdb6b740ba7f8ee155dff6135e64fd85c21728.tar.gz
hercules-67fdb6b740ba7f8ee155dff6135e64fd85c21728.tar.bz2
hercules-67fdb6b740ba7f8ee155dff6135e64fd85c21728.tar.xz
hercules-67fdb6b740ba7f8ee155dff6135e64fd85c21728.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt15
1 files changed, 11 insertions, 4 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 96fc1b769..0912cb556 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -414,7 +414,10 @@ Variables
The meat of every programming language is variables - places where you
store data.
-In Hercules scripting language, variable names are not case sensitive.
+In Hercules scripting language, variable names are case sensitive. Even though
+at the current time the script engine accepts them even with the incorrect
+case, it is not advised to rely on this behavior, as it may change at any
+time.
Variables are divided into and uniquely identified by the combination of:
prefix - determines the scope and extent (or lifetime) of the variable
@@ -1006,6 +1009,10 @@ multiple commands on one line if you properly terminate them with a ';',
but it's better if you don't, since it is not certain just whether the
scripting engine will behave nicely if you do.
+Please note that command and function names are case sensitive. Even though at
+the current time the script engine accepts them with the incorrect case, it is
+not advised to rely on this behavior, as it may change at any time.
+
-------------------------
@@ -4902,7 +4909,7 @@ like storage or cart.
---------------------------------------
*equip <item id>;
-*autoEquip <item id>,<option>;
+*autoequip <item id>,<option>;
These commands are to equip a equipment on the attached character.
The equip function will equip the item ID given when the player has this
@@ -6942,8 +6949,8 @@ You can add your own effects this way, naturally.
---------------------------------------
-*playBGM "<BGM filename>";
-*playBGMall "<BGM filename>"{,"<map name>"{,<x0>,<y0>,<x1>,<y1>}};
+*playbgm "<BGM filename>";
+*playbgmall "<BGM filename>"{,"<map name>"{,<x0>,<y0>,<x1>,<y1>}};
These two commands will play a Background Music to either the invoking
character only ('playBGM') or multiple characters ('playBGMall').