The specified commands are executed the number of times given by the expression. The current value of the repeat counter is saved in the predefined variable %i for your use in the command. Variables and math formuli can be used for expression, but remember that a boolean expression (@example="tested") evaluates to 1.
The shortcut for this command is:
#nnn {commands}
Example
#REPEAT 10 {kill mound} send the command kill mound to the MUD 10 times.