View Single Post
08/11/14, 06:59 PM   #3
zgrssd
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 280
Originally Posted by Waboku View Post
Hello,
I'm trying to get a function to execute on event_loot_received but only if the item type is a recipe. Is that even possible? GetItemLinkItemType looks promising but I couldn't get it to work, most likely due to me not using it correctly. I tried using something like "function() if itemType == ITEMTYPE_RECIPE then ....." but I can't seem to get the itemType when I loot a recipe. Any help is appreciated.
Sous Chef has a function that marks unknown recipes with a "Check" mark.
  Reply With Quote