diff options
author | Haru <haru@dotalux.com> | 2018-02-06 20:18:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-06 20:18:07 +0100 |
commit | 19c94017a31d86f7848085162ffb741770975128 (patch) | |
tree | 33a5cf4b2a580a07f1b3868153123fe4dce49f2f /doc/script_commands.txt | |
parent | a928f009f5a7bad77eda090ec7af551c2f647d5b (diff) | |
parent | 587dd19c0269b3c8089838a5442260a185b19ead (diff) | |
download | hercules-19c94017a31d86f7848085162ffb741770975128.tar.gz hercules-19c94017a31d86f7848085162ffb741770975128.tar.bz2 hercules-19c94017a31d86f7848085162ffb741770975128.tar.xz hercules-19c94017a31d86f7848085162ffb741770975128.zip |
Merge pull request #1718 from Murilo-BiO/clan_system
Implementation of Official Clan System
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r-- | doc/script_commands.txt | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index a91a212e7..e14e80444 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -2381,6 +2381,7 @@ the invoking character. Whatever it returns is determined by type. (1) PC_PARTY - The name of the party they're in if any. (2) PC_GUILD - The name of the guild they're in if any. (3) PC_MAP - The name of the map the character is in. +(4) PC_CLAN - The name of the clan they're in if any. If <GID> is passed, it will return the value of the specified player instead the attached player. If the player is not found, it will return @@ -2522,6 +2523,7 @@ Type is the kind of associated ID number required: (2) CHAR_ID_GUILD - Guild ID number. (3) CHAR_ID_ACCOUNT - Account ID number. (4) CHAR_ID_BG - Battle ground ID +(5) CHAR_ID_CLAN - Clan ID number. For most purposes other than printing it, a number is better to have than a name (people do horrifying things to their character names). @@ -9952,3 +9954,37 @@ Changes the name of a unit. Supported Types - [ MOB | HOM | PET ]. returns 1 on success, 0 on failure. + +--------------------------------------- +//===================================== +13 - Clan System Related Commands +//===================================== +--------------------------------------- + +*join_clan(<ClanID>{,<RID>}) + +Joins a player into the given clan. +If no RID is given, will run with the current attached player. + +returns true on success, false on failure. + +--------------------------------------- + +*clan_leave({<RID>}) + +Removes a player from its clan. +If no RID is given, will run with the current attached player. + +returns true on success, false on failure. + +--------------------------------------- + +*clan_master(<ClanID>) + +Enables the Emblem of the given Clan to the current NPC + +--------------------------------------- +//===================================== +13 - End of Clan System Related Commands +//===================================== +---------------------------------------
\ No newline at end of file |