TinTin++ Mud Client Manual  
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
Loop
space
Syntax: #loop {min} {max} {variable} {commands}
space
The loop command works like a simplified for loop in c. The min and max arguments should be numbers. The command will increment or decrement (depending on the numbers) untill the second number is reached. For every in/de-cremention the commands part will be executed. The value of the in/de-cremention counter will be stored in the variable and can be used in the commands part.
space
Example: #loop 1 10 cnt {say $cnt}
This equals: say 1;say 2;say 3 ... say 9;say 10
space