diff options
author | jesusalva <cpntb1@ymail.com> | 2018-02-16 01:37:05 -0200 |
---|---|---|
committer | jesusalva <cpntb1@ymail.com> | 2018-02-16 01:37:05 -0200 |
commit | 25e53dcabe3b511a4e12bd63f232ae658869fc8e (patch) | |
tree | 046cd184346ada0e02472f5e938b8224db640ca5 /server/scripts/script_commands.txt | |
parent | 953a1bdea987b1fd232cca5e6be7ec84352b9a9c (diff) | |
download | docs-25e53dcabe3b511a4e12bd63f232ae658869fc8e.tar.gz docs-25e53dcabe3b511a4e12bd63f232ae658869fc8e.tar.bz2 docs-25e53dcabe3b511a4e12bd63f232ae658869fc8e.tar.xz docs-25e53dcabe3b511a4e12bd63f232ae658869fc8e.zip |
Update documentation on master
Diffstat (limited to 'server/scripts/script_commands.txt')
-rw-r--r-- | server/scripts/script_commands.txt | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/server/scripts/script_commands.txt b/server/scripts/script_commands.txt index 5b89743..7394090 100644 --- a/server/scripts/script_commands.txt +++ b/server/scripts/script_commands.txt @@ -2402,6 +2402,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 @@ -2543,6 +2544,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). @@ -9967,3 +9969,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 |