View Single Post
11-23-05, 04:20 PM   #2
Gello
A Molten Giant
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 521
GetItemInfo wants a numeric item id or the string "item:###etc". Which you can get from parsing out the link but the link itself won't work.

This will work:

local _,_,itemID = string.find(GetInventoryItemLink("player",17) or "","item:(%d+)")
local sName, sLink, iQuality, iLevel, sType, sSubType = GetItemInfo(itemID);
  Reply With Quote