API GetBuildInfo

Returns information about current client build.

version, build, date, tocversion = GetBuildInfo

Parameters

 * 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
local version, build, date, tocversion = GetBuildInfo

Result
version = "4.1.0" build = "13914" date = "Apr 20 2011" tocversion = 40100

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))