You're browsing our forum as a Guest meaning you can only see a portion of the forum in read-only mode.
To view all forum nodes and be able to create threads/posts please register or log-in with your existing account.
I believe that there is no way to get spell link in vanilla wow. Function GetSpellLink was added in TBC expansion. However yes, it is possible to send plain text name of the spell to the chat when you click on spellbook button. I don't know any addon which has this function, but it can be achieved in few lines of code. Something like (untested):
local original_SpellButton_OnClick = SpellButton_OnClick
local id = SpellBook_GetSpellID(this:GetID())
if (id > MAX_SPELLS) then
if (IsShiftKeyDown() and ChatFrameEditBox:IsVisible() and not (MacroFrame and MacroFrame:IsVisible())) then
local spellName, subSpellName = GetSpellName(id, SpellBookFrame.bookType)
if (subSpellName and (strlen(subSpellName) > 0)) then
spellName = spellName.."("..subSpellName..")"