View Single Post
04/23/14, 07:03 AM   #1
Fathis Ules
Thief Guild Master
 
Fathis Ules's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 42
Any IsValidLink() ?

I don't know if you have seen this recently, but in addition to the usual color flooders using "|c" , now gold spammers are using "|h" in game links

Is it any API ingame for a simple check like IsValidLink("|HFF0000:ev|hk|h") returning False ?

Yet the only workaround to test this is to create a hidden Tooltip, use tooltip:SetLink and catch the error message "malformed link" when registering an event to EVENT_LUA_ERROR

There is really no better way for forcing the client to return if the link is valid ????
  Reply With Quote