if(Action == ">=")
if(FirstVar >= SecondVar){Then = 1;Else = 0}
else{Then = 0;Else = 1}
if(Action == "<=")
if(FirstVar <= SecondVar){Then = 1;Else = 0}
else{Then = 0;Else = 1}
if(Action == ">")
if(FirstVar > SecondVar){Then = 1;Else = 0}
else{Then = 0;Else = 1}
if(Action == "<")
if(FirstVar < SecondVar){Then = 1;Else = 0}
else{Then = 0;Else = 1}
if(Action == "==")
if(FirstVar == SecondVar){Then = 1;Else = 0}
else{Then = 0;Else = 1}
if(Action == "!=")
if(FirstVar != SecondVar){Then = 1;Else = 0}
else{Then = 0;Else = 1}
Thanks!
Furthermore, I suggest you look into 'switch()'.