Func Reminder0() While 1 Sleep(20000) SoundPlay(@AppDataCommonDir + "\rem\sound.mp3") WEnd EndFunc Func Reminder1() While 1 ; variable t0 for desired time ; calculation for variable t1 for desired time <--- know how to do that, but this is just an example While Not $t0 = $t1 SoundPlay(@AppDataCommonDir + "\rem\sound.mp3") ExitLoop() WEnd WEnd EndFunc