diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-07 16:19:42 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-07 16:19:42 +0000 |
commit | cdb9971c1511c4732ce08f0cb1c411a21abe8d77 (patch) | |
tree | 544b44af116a85d37906494259ab75454d62e958 /doc/script_commands.txt | |
parent | 4f20e5d5ee48b1a56b78173b8e9e68a5dc2b0cd7 (diff) | |
download | hercules-cdb9971c1511c4732ce08f0cb1c411a21abe8d77.tar.gz hercules-cdb9971c1511c4732ce08f0cb1c411a21abe8d77.tar.bz2 hercules-cdb9971c1511c4732ce08f0cb1c411a21abe8d77.tar.xz hercules-cdb9971c1511c4732ce08f0cb1c411a21abe8d77.zip |
- Adjusted the order in which option/sc change packets are sent to match Aegis's
- Added script command getpartyleader through which you can retrieve various information of a party's leader.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8162 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r-- | doc/script_commands.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 9b742984c..51b772aaa 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -2067,6 +2067,20 @@ Example: ---------------------------------------
+*getpartyleader <party id>,[<type>];
+
+This function returns some information about the given party-id's leader. When type is ommitted, the default information retrieved is Character name of the party leader. Possible types are:
+
+ 1: Leader account id
+ 2: Leader character id
+ 3: Leader's class
+ 4: Leader's current map index
+ 5: Leader's current level as stored on the party structure (may not be
+ current level if leader leveled up recently).
+
+If retrieval fails (leader not found or party does not exists), "null" is returned instead of character name, and -1 is returned for the other types.
+
+---------------------------------------
*getguildname(<guild id>)
This function returns a guild's name given an ID number. If there is no such
|