summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 0eb383c0a..779589281 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -2322,6 +2322,14 @@ Whatever it returns is determined by type.
---------------------------------------
+*charid2sd(<char id>)
+
+This function returns the RID of the character with the given character ID.
+
+If the character is offline or doesn't exist, 0 is returned.
+
+---------------------------------------
+
*getarraysize(<array name>)
This function returns highest index of the array that is filled.