From 909c0644ce45945c8e3fdc5eb77ebdd1a1cb93d0 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 15 Feb 2015 15:10:01 -0200 Subject: Updated 'delequip' Script Command delequip will now stop a script when attempting to delete a item in a position the player has no gear. Special Thanks to Michieru, Haruna. Signed-off-by: shennetsind --- doc/script_commands.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 3784667cb..e69cca6b1 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -5286,6 +5286,10 @@ This command will destroy whatever is currently equipped in the invoking character's specified equipment slot. For a full list of possible equipment slots see 'getequipid'. +It is always a good idea to check if the player actually has the item you want +before you use this command. If you try to delete in a position that the player +has no gear, script will be terminated with an error. + This command will return 1 if an item was deleted and 0 otherwise. --------------------------------------- -- cgit v1.2.3-60-g2f50