Collection checking and using

Have a macro idea but not sure where to start? Ask here.

Moderator: MacroQuest Developers

Norrathian
decaying skeleton
decaying skeleton
Posts: 5
Joined: Thu Jan 16, 2014 10:19 pm

Collection checking and using

Post by Norrathian » Fri Apr 21, 2017 7:05 pm

I've got a few houses I store collections in. I'd like to run a macro that'd look at each item, see if I have collected it yet, or not. If not, take 1 of them, right click it in inventory, and then continue going through the rest in the house.

I really need the syntax, if no one's done a macro for this. I'd be happy to attempt it and post my results.

Chatwiththisname
a lesser mummy
a lesser mummy
Posts: 51
Joined: Sat Oct 16, 2004 8:09 pm
Location: Texas

Re: Collection checking and using

Post by Chatwiththisname » Mon Jul 24, 2017 11:48 pm

Norrathian wrote:I've got a few houses I store collections in. I'd like to run a macro that'd look at each item, see if I have collected it yet, or not. If not, take 1 of them, right click it in inventory, and then continue going through the rest in the house.

I really need the syntax, if no one's done a macro for this. I'd be happy to attempt it and post my results.
changes.txt wrote: 31 October 2014 by eqmule - Added Heirloom, Collectible and NoDestroy to the Item TLO.
They all return pBoolType.
Been on my todo list forever, so it was long overdue.
Collectible seems accessable by anything that contains an item. However "House", "Home", "Apartment", "Dwelling" "PersonalHome" etc-- doesn't appear to be a TLO. That is a presumption. It is possible that it is there, but I cannot find it in the TLO Builder I use nor the WIKI

${Cursor.Collectible} || checks cursor for a collectible
${Me.Inventory[#].Item[#].Collectible} |returns true if a collectible
${Me.Inventory[#].Item[#].InvSlot.ID} |gets the slot to give to /notify # rightclickup

Not finding a TLO that leads to an owned home to get access to the inventory of it.