Fandom

WoWWiki

API GetBuildInfo

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < GetBuildInfo

Returns information about current client build.

version, build, date, tocversion = GetBuildInfo()

Parameters Edit

Returns
version, build, date, tocversion
version 
String - version
build 
String - build number
date 
String - build date
tocversion 
Number - TOC Version number (New in 2.4.2)

Example Edit

local version, build, date, tocversion = GetBuildInfo()

Result Edit

version = "2.4.2"
build = "8278"
date = "May  1 2008"
tocversion = 20400

Try this macro:

/script v, b, d, t = GetBuildInfo()
/script print(string.format("version = %s, build = %s, date = '%s', tocversion = %s.", v, b, d, t))

Also on Fandom

Random Wiki