I've a problem trying to check if a variable named "arcomm" (from AutoRemote plugin, this variable is a string) is "true" or "false". I checked that "arcomm" value is a proper string, so i can't see where the problem is.
I've used this in the expression condition:
Code: Select all
arcomm=="true";
Script
Code: Select all
if(arcomm=="true")
{
a=true; //boolean
}
if(arcomm=="false")
{
a=false;
}
Code: Select all
a
EDIT: Solved changing string values to numbers ( 1/0)