![](https://cdn.userecho.com/characters/66.png?1)
0
Answered
Different values in in_Value and in_Name
I need 2 different values in the 'vari' variable. How can I do this?
var vari = "Server.Tags." + in_Name;
var value = in_Value;
var dag = IR.GetVariable("System.Date.DayOfWeek");
if(dag == 1 && vari == "Server.Tags.ma1" && value == "1")
{
if(vari == "Server.Tags.uur1")
{
IR.Log("test");
}
}
Customer support service by UserEcho
Hello.
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'.
Is there a way to check the system time every second?
Hello.