Linking professions into macro’d chat

If you get the spell id of the tradeskill then you can shorten it a lot. Run this once:

/run for i=1,50 do if GetSpellName(i,”spell”)==”Inscription” then ChatFrame1:AddMessage(i) end end

it will print a number, like 12. Then you can use that number without the macro looking for it:

/run SendChatmessage(“Inscriptionologomist looking for work! “..(select(2,GetSpellLink(12,”spell”))),”channel”,nil,2)

The number will change when you add/remove spells from the first page of your spellbook, usually due to professions/mastery. So remember to run the first one again to find the new spell id when the first page changes.

Leave a Reply

You must be logged in to post a comment.