I know to search for a specific item you would do
Code: Select all
${FindItem[=itemnamehere].ID}
Code: Select all
${Me.Inventory[Id That the Previous Code Returned]}
Moderator: MacroQuest Developers

Code: Select all
${FindItem[=itemnamehere].ID}
Code: Select all
${Me.Inventory[Id That the Previous Code Returned]}
Code: Select all
/declare nPack int
/declare nSlot int
/for nPack 1 to 8
/if (${Me.Inventory[pack${nPack}].Container}) {
/for nSlot 1 to ${Me.Inventory[pack${nPack}].Items}
/echo ${Me.Inventory[pack${nPack}].Item[${nSlot}]}
/next nSlot
} else {
/echo ${Me.Inventory[pack${nPack}]}
}
/next nPack