From cdb9971c1511c4732ce08f0cb1c411a21abe8d77 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 7 Aug 2006 16:19:42 +0000 Subject: - 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 --- doc/script_commands.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'doc') 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 ,[]; + +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() This function returns a guild's name given an ID number. If there is no such -- cgit v1.2.3-70-g09d2