Improved conditional directives

* Removed `== true` to make some directives shorter.
* Turned `$condition != true` into `not $condition` to make some directives cleaner.