summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2017-05-29 19:05:20 -0400
committergumi <mekolat@users.noreply.github.com>2017-06-01 12:27:33 -0400
commit66101aaf34c55b6928974b78355eea0593de44d2 (patch)
treef0f429c674c683b4ee96afcd31e19ae7e81690e5 /doc/script_commands.txt
parentb0257f021db382439c6f560e87cfbf1aefc732d2 (diff)
downloadhercules-66101aaf34c55b6928974b78355eea0593de44d2.tar.gz
hercules-66101aaf34c55b6928974b78355eea0593de44d2.tar.bz2
hercules-66101aaf34c55b6928974b78355eea0593de44d2.tar.xz
hercules-66101aaf34c55b6928974b78355eea0593de44d2.zip
add documentation for isstr()
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 0ba350ad1..923fad96b 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -8247,6 +8247,18 @@ else.
---------------------------------------
+*isstr(<argument>)
+
+This command checks if the given <argument> is a string (1),
+an integer (0) or something else (2).
+
+Example:
+
+ isstr(69); // outputs 0
+ isstr("69"); // outputs 1
+
+---------------------------------------
+
*charisalpha("<string>", <position>)
This function will return true if the character number Position in the given