From db6b9ca302a14f849dafb01d856a8d106cc60b07 Mon Sep 17 00:00:00 2001 From: gumi Date: Sun, 26 Jul 2020 14:55:57 -0400 Subject: add docs for the missing plugin commands --- server/scripts/evol_script_commands.txt | 63 +++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/server/scripts/evol_script_commands.txt b/server/scripts/evol_script_commands.txt index f40f7f2..7095f8c 100644 --- a/server/scripts/evol_script_commands.txt +++ b/server/scripts/evol_script_commands.txt @@ -871,6 +871,24 @@ Example: see below. --------------------------------------- +*htiprevkey it; + +Moves the hash table iterator back to the previous key. + +--------------------------------------- + +*htifirstkey it; + +Moves the hash table iterator back to the first key. + +--------------------------------------- + +*htilastkey it; + +Moves the hash table iterator to the very last key. + +--------------------------------------- + *hticheck it; Check if the iterator traversed over all keys. Returns 1, if it didn't, @@ -1000,3 +1018,48 @@ Return false if id is not instance id. Example: .instid = 1; mes(str(isinstance(.instid)); + +--------------------------------------- + +*readbattleparam(, ) + +Returns the battle_status info of the target player for the given UDT_ type. + +--------------------------------------- + +*instanceowner({}) + +Returns the account id of the player that owns the instance. + +--------------------------------------- + +*aggravate() + +Makes the target monster hostile towards the attached player, as if they +attacked the monster. + +--------------------------------------- + +*getnpcsubtype({}) + +Returns the subtype (shop, script, ...) of the target NPC. + +0: warp +1: shop +2: script +3: cash shop +4: tomb + +--------------------------------------- + +*kick({, }) +*kick(""{, }) + +Kicks the target player from the server (similar to @kick) for the specified +reason: + + 0: Authentication failed + 2: Already logged in (dual-login) + 9: Too many connections from the same IP address + 15: Kicked by a GM (same as @kick) +115: Player is banned -- cgit v1.2.3-60-g2f50