Originally Posted by Marsgames
Lua Code:
local itemString = select(3, strfind(aze, "|H(.+)|h")) print(itemString)
|
There are two occurences of |h in an item link. The first one comes immediately after the item string portion, and the second comes after the link text portion. By using + in your pattern, the result will include the link text. You should use - instead to get only the item string. I don't know if that helps, but I think you should be able to pass proper item strings to GetItemInfo.