Your comments

Is there a way to check the system time every second?

Thank you!

Is it also possible to check the system time? When 'vari == "Server.Tags.uur1' is equal to the system hour then it should say 'test'.

var hour = IR.GetVariable("System.Time.Hour");
var min = IR.GetVariable("System.Time.Minutes");

if((dag == 1) && ((vari == "Server.Tags.ma1") || (vari == "Server.Tags.uur1")) && (value == "1"))


Yes, and that only numbers are allowed.