in reply to converting a boolean syntax
I don't know if I understand you right, but you might try here: Can If-then conditions do ($a = $b = $c) type expressions?
"Pain is weakness leaving the body, I find myself in pain everyday" -me