View Single Post
08-16-08, 08:28 AM   #2
Mikord
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 61
There are several ways you can do it.

One of the easiest is to check the TOC version via GetBuildInfo.

http://www.wowwiki.com/API_GetBuildInfo


Code:
local tocVersion = select(4, GetBuildInfo())
if tocVersion >= 30000 then
 -- It's WotLK....
end
  Reply With Quote