Gaming
 

Khaos.registerGlobal

From WoWWiki

This article is a part of the documentation of the Khaos function library

	--
	-- registerGlobal ( globalString [, globalString, ... ] )
	-- 	registers a global to be tracked by the Khaos configuration system. 
	-- 	If you want to know when the global has been changed by Khaos, 
	-- 	register a KhaosConfigurationLoadNotice. 
	--
	-- 	It is recommended that you register tables. Tables will be automatically
	-- 	Synchronized if you change them when the Khaos config screen is updated.
	--
	-- Args:
	-- 	globalString - name of the global. E.g. "MyGlobal" will be save MyGlobal. 
	--
	-- Returns:
	-- 	true - no problems
	-- 	false - some sort of error occured
	--