# if
## Syntax:
/if** {expression} {command_if_true} [{command_if_false}]**
## Use Case:
Executes a command if an expression evaluates to true (non-zero). Supports an optional else clause.
## Arguments:
- **{expression}**: The condition to test.
- **{true}**      : Command to run if true.
- **{false}**     : Optional command to run if false.
## Examples:
1. **/if {$hp < 20} {/echo DANGER} {/echo SAFE}**
    (Echos status based on HP)
2. **/if {@connected()} {look}**
    (Runs look only if connected)
## See Also:
while, @if