Code: Select all
| wearing.mac
| Displayes item name of what is in each inventory slot.
Sub Main
/echo Charm: ${Me.Inventory[Charm]}
/echo LeftEar: ${Me.Inventory[LeftEar]}
/echo Head: ${Me.Inventory[Head]}
/echo Face: ${Me.Inventory[Face]}
/echo RightEar: ${Me.Inventory[RightEar]}
/echo Neck: ${Me.Inventory[Neck]}
/echo Shoulders: ${Me.Inventory[Shoulders]}
/echo Arms: ${Me.Inventory[Arms]}
/echo Back: ${Me.Inventory[Back]}
/echo LeftWrist: ${Me.Inventory[LeftWrist]}
/echo RightWrist: ${Me.Inventory[RightWrist]}
/echo Range: ${Me.Inventory[Range]}
/echo Hands: ${Me.Inventory[Hands]}
/echo Primary: ${Me.Inventory[Primary]}
/echo Secondary: ${Me.Inventory[Secondary]}
/echo LeftFinger: ${Me.Inventory[LeftFinger]}
/echo RightFinger: ${Me.Inventory[RightFinger]}
/echo Chest: ${Me.Inventory[Chest]}
/echo Legs: ${Me.Inventory[Legs]}
/echo Feet: ${Me.Inventory[Feet]}
/echo Waist: ${Me.Inventory[Waist]}
/echo Ammo: ${Me.Inventory[Ammo]}
/returnShoulders
Range
Primary
Secondary
Code: Select all
| wearing2.mac
| Iterates through your inventory and displays item names
Sub Main
/declare x int
/for x 0 to 29
/echo ${x} ${Me.Inventory[${x}]}
/next x
/returnIt would appear there's something wrong with either the struct or the name->slot conversion.




