# P_if
## Syntax:
@if**({expression})**
## Use Case:
Evaluates a logical expression and returns 1 if true, 0 if false.
## Arguments:
- **{expression}**: The condition to test (e.g. $hp < 100).
## Examples:
1. **/if {@if($hp < 20)} {/echo DANGER}**
    (Outputs '1' or '0')
## See Also:
@math, @exists