Schedule_Check(_ID = "") { global If cfg_Schedule_UpdateDuration { UpdateDate := cfg_Schedule_LastUpdate UpdateDate += cfg_Schedule_UpdateDuration,Days If (A_Now >= UpdateDate) or not cfg_Schedule_LastUpdate { GoSub,UpdateSteam GoSub,UpdateGames cfg_Schedule_LastUpdate := A_Now } } If cfg_Schedule_BackupDuration { } If cfg_Schedule_CleanupDuration { } }