Loot window help

dobey

Lifetimer
Joined
Sep 27, 2007
Messages
129
Reaction score
10
Points
18
I am farming and looking to /beep when a certain item is in the advloot window, I dont want to loot it I just want to recognize its there and beep to let me know. I saw some code in an old macro that dealt with the old loot window buts its not enough for me to coble something together now.


/if (${Window[LootWnd].Open}) {
/if (${Corpse.Items}==1) {
/itemnotify loot1 rightmouseup
}
}

Any ideas?
 

dobey

Lifetimer
Joined
Sep 27, 2007
Messages
129
Reaction score
10
Points
18
This code gives the the ID for the first slot in the loot window, but I cant figure out how to use that info:


${AdvLoot.SList[1].ID}
 

htw

Developer
Joined
Aug 27, 2006
Messages
13,089
Reaction score
250
Points
83
Location
Albuquerque, NM
If it's going to be in that specific slot, you would just need the item ID, and compare it, and do something with it.

E.g. if item ID you want is 63200

/if ( ${AdvLoot.SList[1].ID}==63200) /do_whatever
 
  • Like
Reactions: EQDAB