diff options
-rw-r--r-- | doc/script_commands.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index fa35b3a7c..db853d267 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -3008,7 +3008,7 @@ For example: if (getequiprefinerycnt(EQI_HEAD_TOP) > 10) { mes("You equipped a headgear (top) with above 10 refine."); } - + For example: if (getequiprefinerycnt(EQI_ARMOR, EQI_SHOES) > 20) { mes("Total refine of Armor and Shoes exceed 20."); @@ -3155,7 +3155,7 @@ recreate these items perfectly if they are destroyed. Here's what you get: @inventorylist_expire[] - expire time (Unix time stamp). 0 means never expires. @inventorylist_bound[] - whether it is an account bounded item or not. -@inventorylist_favorite[] - whether it is favorite (inside favorite tab) or not. +@inventorylist_favorite[] - whether it is favorite (inside favorite tab) or not. @inventorylist_count - the number of items in these lists. This could be handy to save/restore a character's inventory, since no @@ -3215,7 +3215,7 @@ This function will set an item in inventory as favorite or not. If its favorite item, it will be moved to favorite tab, else move out from favorite tab. Note: Cant change favorite flag of an equipped item. -Valid Parameters: +Valid Parameters: <idx> - inventory index, refer *getinventorylist() <flag> - true/false (true = favorite item, false = otherwise) @@ -3223,11 +3223,11 @@ Valid Parameters: *autofavoriteitem(<item_id>, <flag>) -This function will auto set an item as favorite when <item_id> is obtained. +This function will auto set an item as favorite when <item_id> is obtained. If its favorite item, it will be auto moved to favorite tab, else move out from favorite tab. This setting affect not only attached player, but also everyone player globally. -Valid Parameters: +Valid Parameters: <item_id> - item ID <flag> - true/false (true = favorite item, false = otherwise) @@ -3320,7 +3320,7 @@ Valid types are: ITEMINFO_STACK_FLAG - Stack amount flag (1: inventory, 2:cart, 4:storage: 8:guildstorage) ITEMINFO_ITEM_USAGE_FLAG - Item usage flag ITEMINFO_ITEM_USAGE_OVERRIDE - Item usage override - ITEMINFO_GM_LV_TRADE_OVERRIDE - Min. GM level override trade restriction + ITEMINFO_GM_LV_TRADE_OVERRIDE - Min. GM level override trade restriction Check sample in doc/sample/getiteminfo.txt @@ -3956,7 +3956,7 @@ These fields are associate in 'db/(pre-)re/pet_db.conf'. Valid types are: PETINFO_ACCESSORYFLAG - return 1 if the pet currently equipping accessory, return 0 otherwise. PETINFO_EVO_EGGID - Pet Evolve EggID PETINFO_AUTOFEED - Pet AutoFeed flag. - + If the invoking player doesn't own a pet, this command will return "null" for type PETINFO_NAME, and return 0 for other types. |