In-chat links customization

Discussion in 'Plugin Development' started by kralv, Oct 15, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    kralv

    I have 2 questions pertaining to clickable links in the chat.

    1. As far as I know you can only link a url by just typing its full address into chat, like www.google.com. Is there a way to customize what a link looks like, for example, Link? In chat it would be displayed simply as a word and then when clicked on it would take them to an actual url.

    2. Is there an event handler or some way to know who and when someone clicks on a link in chat?
     
  2. Offline

    md_5

    Hmm, not sure what the link regex is, but pretty sure you don't need www at the start.

    No, there is no event handler as it is a completely client side action.
     
  3. I think the link regex is words seperated by dots, as pressing on the message of an screenshot, it says also do you want to open this link
     
Thread Status:
Not open for further replies.

Share This Page