A FuBar addon to display if your Onyxia Scale Cloak is equipped or not. The addon is attached to this message as a .zip file. Would love some people to test this and see if they can break it. Would also appreciate some opinions on what I did wrong with the code.
Also, I'd like to localize this in the future, so I think I should use Item Codes instead of Item Names. I wrote a simple macro to get the Item Code for my Onyxia Scale Cloak, but I'm not sure if it is correct.
Is Onyxia Scale Cloak = 15138 ?
Here's the macro I made if someone else wouldn't mind seeing what their Onyxia Scale Cloak Item Code is:
/script back=GetInventoryItemLink("player", GetInventorySlotInfo("BackSlot")) _,_,itemCode=strfind(back, "(%d+):") DEFAULT_CHAT_FRAME:AddMessage(itemCode)
|
Attachment: