Hi Again MMOwned.
I would like to start of saying what the hell this is.
What this macro do, is that it will show the itemid of the item you link.
If you etc. are playing on a private server, and you need the itemid of a custom made item, you just write the macro, and link the item. Simple.
Code:
/run SLASH_ITEMID1="/itemid" SlashCmdList["ITEMID"]=function(msg) local _,link=GetItemInfo(msg) if link then ChatFrame1:AddMessage(msg .. " has item ID: " .. link:match("item:(%d+):")) end end
Write that in your chat box, and after you wrote that, write this:
Code:
/itemid <linked item>
without the "<>" and you will get the itemid!
Regards,
Morten.
Feel free to move/remove my thread.