|
local function chatHoverIn(cf,link,text) |
local typ = string.match(link, "^(.-):") |
-- print(typ,link) |
--[[ print(typ,link) |
local tbl = { strsplit(":", link) } |
for k,v in pairs(tbl) do |
print(v) |
end |
]]-- |
if(typ == "item" or typ == "enchant" or typ == "spell" or typ == "quest") then |
if(typ == "item" or typ == "enchant" or typ == "spell" or typ == "quest" or typ == "currency") then |
GameTooltip:SetOwner(UIParent, "ANCHOR_CURSOR") |
GameTooltip:SetHyperlink(link) |
|
ShowUIPanel(GameTooltip) |
elseif(typ == "player") then |
local typ, name = string.match(link, "^(.-):(.*):(.*):") |