itemnotify

Third party software discussion goes here.
conradd
Posts: 381

itemnotify

Post#1 » Thu Oct 30, 2014 11:55 pm

Hi all,

I would like to pick up an item from a bag in my inventory.

Can someone give me some samples of macroquest code to do that with UF client plz ?

I tried some of the wiki like

Code: Select all

/itemnotify in pack1 1 leftmouseup
but it doesn't work and I'm getting an error on the bagslot or the itemslot.

I don't know what I'm missing.
Last edited by conradd on Fri Oct 31, 2014 9:04 am, edited 1 time in total.
"Shorties will rule the world !"
[CLR] Conradd <Drachenkinder>

Dreos
Posts: 489

Re: itemnotify

Post#2 » Fri Oct 31, 2014 12:19 am

I've used:

Code: Select all

/itemnotify in pack8 4 leftmouseup


Maybe try adding the leftmouseup? Working on booting up my main comp but it's going to be a bit till I could get in and try it.

Noren
Posts: 1053

Re: itemnotify

Post#3 » Fri Oct 31, 2014 1:24 am

This may be an easier way to use it, borrowed from my pet weapons script (in a macro):

Code: Select all

/declare PetDag string local "Summoned: Godly Dagger of Destruction"

|-- Open inventory and all bags if the inventory window isn't open
/if (!${Window[InventoryWindow].Open}) /keypress OPEN_INV_BAGS

|-- Or, to open the bag containing the desired item
/itemnotify ${FindItem[${PetDag}].InvSlot.Pack} rightmouseup
|-- delay accounts for network latency
/delay 4

|-- Pick up the desired item
/itemnotify ${FindItem[${PetDag}].InvSlot} leftmouseup
|-- delay accounts for network latency
/delay 2


Or in a one-liner:

Code: Select all

/itemnotify ${FindItem[Sian's Ogre Stick].InvSlot} leftmousup

conradd
Posts: 381

Re: itemnotify

Post#4 » Fri Oct 31, 2014 9:05 am

Sorry, I forgot the leftmouseup when I posted ;)

Noren's line is interesting cos you double the InvSlot check. I will try this one, thx ;)
"Shorties will rule the world !"
[CLR] Conradd <Drachenkinder>

Return to “Third party software”

Who is online

Users browsing this forum: No registered users and 1 guest