If you implemented addslot() and removeslot() from Epoque’s Expansion Pack, default getitemslot() from original emulator can’t gets the slots value from the equipment. So I decide to make getitemslots2() to get the slot value.
This is custom script_command, that mean, you can use this command on NPC script. Getitemslots has one parameter, that is equip position. So, you must wear the equipment that you want to now, how many its slot.
For example, getitemslots2(1), that mean you will get slot amount of equipment that you use on position 1. Position 1 means Top headgear.
1 = EQI_HEAD_TOP = Top headgear 2 = EQI_ARMOR = Armor 3 = EQI_HAND_L = Left hand 4 = EQI_HAND_R = Right hand 5 = EQI_GARMENT = Garment 6 = EQI_SHOES = Shoes 7 = EQI_ACC_L = Left hand accessory 8 = EQI_ACC_R = Right hand accessory 9 = EQI_HEAD_MID = Middle headgear 10 = EQI_HEAD_LOW = Lower headgear
Here’s the screenies..
Download getitemslots2() NPC Scripts – NPC for checking equipment slot that modified by addslot() or removeslot()