ScriptName aaaKimachuuDDCMCM extends MCM_ConfigBase

aaaKimachuuDDCRA Property config Auto

Int Property iKey Auto

Event OnPlayerLoadGame()
	utility.Wait(3.00000)
	iKey = Self.GetModSettingInt("iDDCHotkey:General")
	self.SetV()
EndEvent

Event OnConfigInit()
	utility.Wait(3.00000)
	iKey = Self.GetModSettingInt("iDDCHotkey:General")
	self.SetV()
EndEvent

;Event OnConfigOpen()

;EndEvent

Event OnConfigClose()
	self.SetV()
EndEvent

Event OnSettingChange(String a_ID)
	if a_ID == "iDDCHotkey:General"
		iKey = Self.GetModSettingInt(a_ID)
	endif
EndEvent

Function SetV()
	config.keyUpdate(iKey)
EndFunction