repeat <times> <delay> <command>

Runs a specified series of commands a specified amount of times with a delay.
Console & debug
Parameters

Angle brackets <> mark required arguments; square brackets [] mark optional ones.

NameTypeRequiredDescription
timesintRequiredHow many times to repeat.
delayfloatRequiredSeconds to wait between repeats.
commandstringRequiredCommands to run; separate with ; and replace spaces with _.
Command generator

Fill in the arguments and copy the finished command — it updates as you type.

repeat 1 <delay> <command>
Timesint
How many times to repeat.
Delayfloat
Seconds to wait between repeats.
CommandstringCommands to run; separate with ; and replace spaces with _.