Loot window help

dobey

Lifetime Member
Joined
Sep 27, 2007
Messages
133
Reaction score
12
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?
 
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}
 
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
That worked perfectly! Thanks so much.
 
  • Like
Reactions: EQDAB