WoW API: GetTradeSkillListLink
SynopsisEdit
Retrieves the TradeSkillLink to the currently open tradeskill.
link = GetTradeSkillListLink()
ArgumentsEdit
- None
ReturnsEdit
- link
- If tradeskill is linkable.
- nil
- If tradeskill is not linkable (runeforging) or if no tradeskill is open.
ExampleEdit
local link = GetTradeSkillListLink() if link then print(link) else print("Linking is not available for this tradeskill!") end
ResultEdit
- Displays a link to the currently open tradeskill in the chat window, unless there is none available.
DetailsEdit
- Added in 3.0.1
- See also GetTradeSkillInfo(), GetSpellLink(), TradeSkillLink