summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 15026cd7c..c9bdce7c5 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -3364,10 +3364,10 @@ Return true if successful, otherwise it will return false.
---------------------------------------
-*getgroupid()
+*getgroupid({<account id>})
-This function will return the id of player group the account to which the
-invoking player belongs.
+This command returns the id of the group of the attached or specified player.
+If the player is not found, returns -1.
---------------------------------------