Page 1 of 1

Inventory

Posted: Sun Oct 14, 2012 3:53 pm
by zizak51
Hey guys. Can anyone point me to (or write) a code snippet that will do the following:

- Loop through all the items in my bags and return the name and vendor value of each item
- Move an item that matches a name to cursor and delete it (or a stack of it)

Using /itemnotify, ${FindItem[]} and InvSlot[] i have managed to crash my EQ client going on 10 times now, so i'm admitting defeat on this one.

-Ziz

Re: Inventory

Posted: Sun Oct 14, 2012 4:44 pm
by Maskoi
Look at Inventory.mac in your macro folder, comes with mq2, for how to loop through bags.

Look at my updated bazaar.mac on how to get the vendor price of stuff.

Oh ya forgot I yanked out the mentioned code for someone else a few weeks back.
viewtopic.php?p=159561#p159561

Re: Inventory

Posted: Sun Oct 14, 2012 5:31 pm
by zizak51
Thanks! Wow i feel dumb.. any idea how to delete items on cursor?

Re: Inventory

Posted: Sun Oct 14, 2012 5:40 pm
by zizak51
Nevermind. /destroy

Re: Inventory

Posted: Sun Oct 14, 2012 5:48 pm
by zizak51
Still can't figure out how to pick up a stack of items.

Re: Inventory

Posted: Sun Oct 14, 2012 6:09 pm
by dewey2461
To pick up a stack you need to send a modified item click command. Search the forums for /itemnotify and you'll find examples.