obviously i cannot drycode
its 5th argument, from fast /etrace
Lua Code:
ChatFrame_AddMessageEventFilter("CHAT_MSG_LOOT",function(self,event,msg,who,language,channelString,target, ...)
if target==UnitName("player") then
local id=tonumber(msg:match("|Hitem:(%d+)")) or 0;-- Force nil to zero if we have an invalid link (no items exist at index zero)
if ItemSetNames[id] then return false,msg,who,language,channelString,target,." (|cff9400d3Transmog Sets: "..string.join(", ",unpack(ItemSetNames[id])).."|r).",...; end
end
end);