REPEAT

Syntax: #REP expression command

The specified command is sent to the MUD the number of times given by the number parameter. The current value of the repeat counter is saved in the predefined variable %repeatnum 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 {command}

Example

#REPEAT 10 {kill mound}

send the command kill mound to the MUD 10 times.



Contents #RENAME #RESET