Wikia

WoWWiki

API IsTradeSkillLinked

Talk0
101,312pages on
this wiki
Revision as of 02:01, December 30, 2008 by Xinhuan (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < IsTradeSkillLinked

Returns true if the tradeskill being viewed is from a link along with the player's name, nil otherwise.

isLink, playerName = IsTradeSkillLinked()

Arguments
none

Returns
isLink - 1 if the tradeskill shown in the UI is from a link (in chat), nil otherwise
playerName - The name of the player the tradeskill link is for if isLink is 1, nil otherwise.

Example
if not IsTradeSkillLinked() then
    -- do something with the player's tradeskills
end

Around Wikia's network

Random Wiki