TinTin++ Mud Client Manual  
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
Foreach
space
Syntax: #foreach {list} {variable} {commands}
space
The foreach command works like a simplified loop. Each word in the list will be stored in the variable at execution time and can be used in the commands part.
space
Example: #foreach {Bob Jim Tom} {name} {say Hello $name!}
This equals: say Hello Bob!;say Hello Jim!;say Hello Tom
space