summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-10-22 15:33:22 -0400
committergumi <git@gumi.ca>2018-10-22 15:33:22 -0400
commitb0a321c309521a6b0bc35c8f9c58ce57f3f38cbd (patch)
tree06eb58680f1d91b70ba673982d827330ab7dcec7 /doc/script_commands.txt
parent5219e2e3d004e52a8a08cb96536e30ced7001b95 (diff)
downloadhercules-b0a321c309521a6b0bc35c8f9c58ce57f3f38cbd.tar.gz
hercules-b0a321c309521a6b0bc35c8f9c58ce57f3f38cbd.tar.bz2
hercules-b0a321c309521a6b0bc35c8f9c58ce57f3f38cbd.tar.xz
hercules-b0a321c309521a6b0bc35c8f9c58ce57f3f38cbd.zip
add documentation for buildin_data_to_string
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 33d1ee426..219c71205 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -8604,6 +8604,18 @@ Example:
---------------------------------------
+*data_to_string(<data>)
+
+Returns a string representation of the given data, similar to the .toString()
+method in JavaScript.
+
+Example:
+
+ data_to_string(DATATYPE_VAR) // "DATATYPE_VAR"
+ data_to_string(.@foo) // ".@foo"
+
+---------------------------------------
+
*charisalpha("<string>", <position>)
This function will return true if the character number Position in the given