summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorgepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-02-15 00:34:32 +0000
committergepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-02-15 00:34:32 +0000
commit70b60d3c8215ec5470f1ca0a6a2441168730b5eb (patch)
treee83c53cd8baba4fcd86bfdc930ec3610deab04d0 /doc/script_commands.txt
parentc3c7efd8b1332095ff723230a813539600896e35 (diff)
downloadhercules-70b60d3c8215ec5470f1ca0a6a2441168730b5eb.tar.gz
hercules-70b60d3c8215ec5470f1ca0a6a2441168730b5eb.tar.bz2
hercules-70b60d3c8215ec5470f1ca0a6a2441168730b5eb.tar.xz
hercules-70b60d3c8215ec5470f1ca0a6a2441168730b5eb.zip
Added `getgroupid()` script command (follow-up to r15572).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15583 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt13
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index e2a0af548..50f5d5dfe 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -2671,9 +2671,9 @@ Notice that NPC objects disabled with 'disablenpc' will still be located.
*getgmlevel()
-This function will return the GM level of the account to which the invoking
-character belongs. If this is somehow executed from a console command, 99 will
-be returned, and 0 will be returned if the account has no GM level.
+This function will return the (GM) level of player group the account to which the
+invoking character belongs. If this is somehow executed from a console command,
+99 will be returned, and 0 will be returned if the account has no GM level.
This allows you to make NPC's only accessible for certain GM levels, or behave
specially when talked to by GMs.
@@ -2683,6 +2683,13 @@ specially when talked to by GMs.
---------------------------------------
+*getgroupid()
+
+This function will return the id of player group the account to which the
+invoking player belongs.
+
+---------------------------------------
+
*gettimetick(<tick type>)
This function will return the system time in UNIX epoch time (if tick type is 2)