ScriptName LightSwitchScriptBegin GameModeif gamehour >= 0 || gamehour < 7 enable else disableendifEnd
ScriptName LightSwitchScriptBegin GameModeif gamehour >= 0 || gamehour < 7 enable else disableendifEnd
ScriptName LightSwitchScriptBegin GameModeif gamehour >= 20 || gamehour < 7 enableelse disableendifEnd
scriptname streetlightscriptbegin gamemodeif gamehour >= 18 || gamehour < 7 enableelse disableendifend
scriptname streetlightscriptbegin gamemodeif gamehour >= 18 || gamehour < 7 enableelse disableendifend
1 = True0 = False18 Hundred is army time for 6.00pm>= means its greater then it or the same
if gamehour >= 0
ScriptName LightSwitchScriptBegin GameModeif gamehour >= 24 || gamehour < 7 enableelse disableendifEnd
ScriptName LightSwitchScriptBegin GameModeif gamehour < 7 enableelse disableendifEnd
ScriptName NEWLightSwitchScriptshort ControlVarBegin GameModeif gamehour < 7 && ControlVar == 0 enable Set ControlVar to 1elseif gamehour > 7 && ControlVar == 1 disable Set ControlVar to 0endifEnd
ScriptName NEWLightSwitchScriptshort ControlVarBegin GameModeif gamehour < 7 && ControlVar == 0 enable Set ControlVar to 1elseif gamehour > 7 && ControlVar == 1 disable Set ControlVar to 0endifEnd