This is the code from TradeChannelCleaner, I've posted my question there, but the author has not responded so I thought I would ask here.
What does the |H do? Look for hyperlinks? I was trying to find documentation, but my GoogleFu is weak, any pointers there would be appreciated also.
Code:
ChatFrame_AddMessageEventFilter("CHAT_MSG_CHANNEL", function(_, _, message, _, _, _, _, _, _, _, channel)
if channel == "Trade - City" and not message:find("|H") then
return true
end
end)