This macro will go through your bags starting with the first one and autoinventory every item(stack of items). The end result is that your inventory is packed.
Tip: you might want to put tradeskill only bags first.
Thank you ctaylor22 for the optimization tip!
Usage: /mac orginv
Tip: you might want to put tradeskill only bags first.
Thank you ctaylor22 for the optimization tip!
Usage: /mac orginv
Rich (BB code):
|orginv.mac 2015
|playj's quick and dirty inventory cleanup
|simply goes through all items in inventory and uses /autoinv to place them towards the first bags
|TODO optimize for time and possibly more efficient commands for selecting items
|usage /mac orginv
Sub Main
/echo starting orginv
/call OrgInv
/echo all done with inventory organization
/return
Sub OrgInv
/declare i int local 0
/declare j int local 0
/keypress OPEN_INV_BAGS
/for i 1 to 10
/if (${Me.Inventory[Pack${i}].Container} && ${Me.Inventory[Pack${i}].Items}) {
/for j 1 to ${Me.Inventory[Pack${i}].Container}
/if (${Me.Inventory[Pack${i}].Item[${j}].Name.NotEqual[null]}) {
/shiftkey /itemnotify in Pack${i} ${j} leftmouseup
/delay 5
/autoinv
/delay 5
}
/next j
}
/next i
/keypress CLOSE_INV_BAGS
/return

