summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-07-26 14:55:57 -0400
committergumi <git@gumi.ca>2020-07-26 15:13:36 -0400
commitdb6b9ca302a14f849dafb01d856a8d106cc60b07 (patch)
tree9f48aeae9e3831a0d4228c3c8b93c65bc60e6220
parentd514141b4dd37f6b0f9a69dc2c6d6d158894fcb2 (diff)
downloaddocs-db6b9ca302a14f849dafb01d856a8d106cc60b07.tar.gz
docs-db6b9ca302a14f849dafb01d856a8d106cc60b07.tar.bz2
docs-db6b9ca302a14f849dafb01d856a8d106cc60b07.tar.xz
docs-db6b9ca302a14f849dafb01d856a8d106cc60b07.zip
add docs for the missing plugin commands
-rw-r--r--server/scripts/evol_script_commands.txt63
1 files changed, 63 insertions, 0 deletions
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(<account id>, <UDT_ constant>)
+
+Returns the battle_status info of the target player for the given UDT_ type.
+
+---------------------------------------
+
+*instanceowner({<instance id>})
+
+Returns the account id of the player that owns the instance.
+
+---------------------------------------
+
+*aggravate(<mob GID>)
+
+Makes the target monster hostile towards the attached player, as if they
+attacked the monster.
+
+---------------------------------------
+
+*getnpcsubtype({<NPC id>})
+
+Returns the subtype (shop, script, ...) of the target NPC.
+
+0: warp
+1: shop
+2: script
+3: cash shop
+4: tomb
+
+---------------------------------------
+
+*kick(<account id>{, <reason>})
+*kick("<char name>"{, <reason>})
+
+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