# while
## Syntax:
/while** {expression} {command}**
## Use Case:
Repeatedly executes a command as long as an expression remains true (non-zero). Includes a safety limit of 1000 iterations.
## Arguments:
- **{expression}**: The condition to test.
- **{command}**   : The command to repeat.
## Examples:
1. **/while {$count < 10} {/math {count} {$count + 1};/echo $count}**
    (Counts from 1 to 10)
## See Also:
if, loop