summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2017-09-20 06:31:00 +0530
committerGitHub <noreply@github.com>2017-09-20 06:31:00 +0530
commit7cbd35644b73f254fc976070cd1e993aa43a7cfc (patch)
treebbfdcd7392ad452b5bb069f6b732727c8b2417f4 /doc/script_commands.txt
parent94b3f24afa5e77bf770fdf90cf446396165b82c6 (diff)
parent6156d03ea9654ae455ce8e741b3b4a9c3fdd5bab (diff)
downloadhercules-7cbd35644b73f254fc976070cd1e993aa43a7cfc.tar.gz
hercules-7cbd35644b73f254fc976070cd1e993aa43a7cfc.tar.bz2
hercules-7cbd35644b73f254fc976070cd1e993aa43a7cfc.tar.xz
hercules-7cbd35644b73f254fc976070cd1e993aa43a7cfc.zip
Merge pull request #1842 from mekolat/getgroupid
Allow using getgroupid on another player
Diffstat (limited to 'doc/script_commands.txt')
-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.
---------------------------------------