TrulyInsane1

WoW Macro - Get Item Number 2

Jul 29th, 2018
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. What this macro do, is that it will show the itemid of the item you link.
  2. 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.
  3.  
  4. /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
  5.  
  6. Write that in your chat box, or make a macro to run it easier, and after you've written that, write this:
  7.  
  8. /itemid <link item here>
Advertisement
Add Comment
Please, Sign In to add comment