# Loop

## Tags

### `loop(<times>,<seconds-per-time>,<variable>) action` -> The times means the times that it will be looped. The seconds-per-time means the seconds between each loop is processed. For example if there is 1 second, it will do each loop time every second. And the variable is the variable name to get %variable.times% to get the current time where the loop is currently.

## Examples

<pre class="language-yaml" data-overflow="wrap" data-full-width="false"><code class="lang-yaml"><strong>loop(5,1,loopvar) command &#x3C;value>edp msg %player% Hello %player%! This is the %loopvar.times% message!&#x3C;/value>
</strong></code></pre>
