# loop
## Syntax:
/loop** {start,end[,var]} {command}**
## Use Case:
Executes a command for each value in a specified range. Updates a loop variable for each iteration.
## Arguments:
- **{start,end}**: The range (e.g. 1,5).
- **{var}**      : Optional variable name (defaults to 'LoopCount').
- **{command}**  : The command to run.
## Examples:
1. **/loop {1,5} {get item $LoopCount}**
    (Gets items 1 through 5)
2. **/loop {10,1,i} {/echo Blastoff in $i...}**
    (Countdown from 10 to 1)
## See Also:
while