[[IF:Boolean]]
Executes until [[ELSE]] , [[ELSE_IF]] or [[END_IF]] is encountered in the code if Boolean condition is true
Usage examples.:
[[IF:$a==$b]] [[IF:$status===TRUE]] [[IF:$status]] [[IF:((($a==$b)AND($b>=$c))OR(($a==$b)AND($b<=$c)))]] [[IF:((($fname=="John")&&($age>=21))||(($lname=="Smith")&&($age<=111)&&($age>18)))]]
You’ll see these same operators in many dynamically typed languages, not just TerraDctl Script.
See PHP Operators.
==
convert into types it can compare. Really equal.
===
compare with respect to both type and value. Really, really equal.