View Single Post
03-21-13, 10:41 AM   #38
fRodzet
A Flamescale Wyrmkin
Join Date: Mar 2013
Posts: 114
Originally Posted by F16Gaming View Post
Seems the linkType does contain the correct value then, maybe the error lies somewhere else.

Also, there was no |H at the start of the link string? Then how could the string match work...
i have no idea, however:

local function ChatlinkTooltips_ShowTip(self, linkData)
local linkType = strmatch(linkData, "(.-):")
if supportedType[linkType] then
GameTooltip:SetOwner(self, "ANCHOR_CURSOR")
GameTooltip:SetHyperlink(linkData)
GameTooltip:Show()
end
end

worked just well - without the |H
  Reply With Quote