View Single Post
09-13-08, 01:31 PM   #8
ywwow
A Murloc Raider
 
ywwow's Avatar
Join Date: May 2008
Posts: 9
Code:
local i = 1
while true do
   local spellName, spellRank = GetSpellName(i, BOOKTYPE_SPELL)
   if not spellName then
      do break end
   end   
   DEFAULT_CHAT_FRAME:AddMessage( spellName .. '(' .. spellRank .. ')'..'SpellID:'..i )   
   i = i + 1
end
Can I in this way get the SpellID which can be used as the item id in macros in the form of "item:id"?
__________________
Young Learner.I am sorry about my poor English.
  Reply With Quote