summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorepoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-12 03:32:34 +0000
committerepoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-12 03:32:34 +0000
commitcc8c60d13a476f95b1d79f2f3811f21d4174acb5 (patch)
tree5f74b02ff37ff484d6f987a2e1215728ee830568 /doc/script_commands.txt
parent372828e4de3c2474891380c30ce94ce1d72e9127 (diff)
downloadhercules-cc8c60d13a476f95b1d79f2f3811f21d4174acb5.tar.gz
hercules-cc8c60d13a476f95b1d79f2f3811f21d4174acb5.tar.bz2
hercules-cc8c60d13a476f95b1d79f2f3811f21d4174acb5.tar.xz
hercules-cc8c60d13a476f95b1d79f2f3811f21d4174acb5.zip
- Added support for multi-line messages when using mes;
- Added getstatus; script command to retrieve information about a specific, active status effect git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15072 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index bcf269535..644c58d22 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -1168,6 +1168,14 @@ english characters, the color codes might get screwed if they stick to letters
with no intervening space. Separating them with spaces from the letters on
either side solves the problem.
+To display multiple lines of message while only using a single mes; command,
+use the script command in the following format:
+
+ mes "Line 1", "Line 2", "Line 3";
+
+This will display 3 different lines while only consuming a single line in
+the relevant script file.
+
---------------------------------------
*next;
@@ -4737,6 +4745,26 @@ should be rather obvious.
---------------------------------------
+*getstatus <effect type>{,<type>};
+
+Retrieve information about a specific status effect when called. Depending on <type>
+specified the function will return different information.
+
+Possible <type> values:
+ - 0 or undefined: whether the status is active
+ - 1: the val1 of the status
+ - 2: the val2 of the status
+ - 3: the val3 of the status
+ - 4: the val4 of the status
+ - 5: the amount of time in milliseconds that the status has remaining
+
+If <type> is not defined or is set to 0, then the script function will either
+return 1 if the status is active, or 0 if the status is not active. If the status
+is not active when any of the <type> fields are provided, this script function
+will always return 0.
+
+---------------------------------------
+
*skilleffect <skill id>,<number>;
*skilleffect "<skill name>",<number>;