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.
/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, or make a macro to run it easier, and after you've written that, write this:
/itemid <link item here>
Comments