Check if itemString or itemLink
View Single Post
01-01-18, 12:57 PM
Join Date: Apr 2007
Originally Posted by
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.
It would actually be better to include the second |h in the pattern: |H(.*)|h.*|h
Lua Wall of Shame
Don't like combat text on frames?
View Public Profile
Send a private message to Kanegasi
Find More Posts by Kanegasi