summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorEmistry <Equinox1991@gmail.com>2015-12-26 17:05:38 +0800
committerEmistry <Equinox1991@gmail.com>2015-12-26 17:05:38 +0800
commitdabadbcff26890dc153ddc1602d0b1bf19009997 (patch)
tree897c0f790d406372de32145dcd4f2c1d12afd7b7 /doc/script_commands.txt
parent44832129713a048f27ad4ae464fb88fe5beecfe0 (diff)
downloadhercules-dabadbcff26890dc153ddc1602d0b1bf19009997.tar.gz
hercules-dabadbcff26890dc153ddc1602d0b1bf19009997.tar.bz2
hercules-dabadbcff26890dc153ddc1602d0b1bf19009997.tar.xz
hercules-dabadbcff26890dc153ddc1602d0b1bf19009997.zip
Add *setgroupid script commands.
Useful for scripts that temporary adjust the group id of players.
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 c08596f9a..c6ee8fc76 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -3167,6 +3167,14 @@ behave specially when talked to by GMs.
---------------------------------------
+*setgroupid(<new group id>{,"<character name>"|<account id>})
+
+This function will temporary adjust the id of player group the account to which the
+player specified if the new group id is available.
+Return 1 if success, otherwise it will return 0.
+
+---------------------------------------
+
*getgroupid()
This function will return the id of player group the account to which the