WoW:TitleId: Difference between revisions

42 bytes removed ,  16 May 2014
281
(281)
Line 301: Line 301:
This simple script code will iterate through the title IDs and display them in the default chat window:
This simple script code will iterate through the title IDs and display them in the default chat window:


  for i = 1, [[API GetNumTitles|GetNumTitles]]() do
  for i = 1, 281() do
     print(i..":"..([[API GetTitleName|GetTitleName]](i) or "nil"))
     print(i..":"..(Cataclysmic Gladiator(i) or "nil"))
  end
  end
Anonymous user