TinTin++ Mud Client Manual
Break
space
Syntax: #break
space
The break command can be used to break out of the #foreach, #loop, #parse, #switch, and #while commands. When #break is found tintin will move to the end of the command and continue from there.
space
Example:
#math cnt 0;
#while {1}
{
  #math cnt $cnt + 1;
  #if {$cnt == 20}
  {
    #break
  }
}
space
See also: Continue, Foreach, List, Loop, Parse, Repeat, Return and While.
space