|h?
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) |
Chat links are special strings that the chat frame translates into clickable buttons in the string, which you know as links or more typically hyperlinks (like on websites).
Without the chat window processing them, they look something like this: Code:
|Hitem:7073:0:0:0:0:0:0:0:80:0|h[Broken Fang]|h |H and |h here are escape sequences, similar to how |c is used to start a color sequence and ends with |r. More information about links, and in particular itemLinks and itemStrings: https://wow.gamepedia.com/UI_escape_...ces#Hyperlinks https://wow.gamepedia.com/ItemLink https://wow.gamepedia.com/ItemString This is similar to how links are made on websites, in which they are made up of anchor tags. You'd see "click here" and you'd be able to click it, while the code to do that would be this: Code:
<a href="www.wowinterface.com">click here</a> |
Indeed, there are various tokens for things in chat strings like:
Code:
"41,130|TInterface\\MoneyFrame\\UI-GoldIcon:0:0:2:0|t 85|TInterface\\MoneyFrame\\UI-SilverIcon:0:0:2:0|t 71|TInterface\\MoneyFrame\\UI-CopperIcon:0:0:2:0|t" |
Quote:
|
Thanks for all the replies, this helps a lot.
|
All times are GMT -6. The time now is 01:04 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI