Code: Select all
On Clock#Time=All,**:** Do
If %eventvalue2%>=%c_m2hcm%(any minute) and %eventvalue2%<=%c_m2hcm%(1440)
do something
Else
do something else
Endif
Endon
What do you think @tonhuisman....
Edit: on the other hand i understand, using 00:00 makes sense for a multiple of 1440..... hmmmmm maybe it shouldn’t be changed
Edit2: Question also could be: How can the code be changed to make it work with every setting? I am stumped right now...