Advertisement
TrulyInsane1

WoW Macro - Get Item Number (For Shrinking Macros)

Jul 18th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. This macro uses the script language to obtain the item number of what is on the cursor and displays it in the chat window. Assign the macro to a hotkey, pick up an item with the cursor, and hit the hotkey of the macro to see the item's number. This is useful for shortening macros by replacing long item names with item:#####.
  2.  
  3. /script local infoType, info1, info2 = GetCursorInfo(); if infoType == "item" then DEFAULT_CHAT_FRAME:AddMessage( info1 ); end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement