YENGswitch
From OpenSimulator
switch can only work in integer expressions, or strings
break, default and '...' are keywords used with it.
simple string (command) example:
switch (command) { case "turnleft": { TurnLeft (); break; } case "turnright": { TurnRight (); break; } default: llOwnerSay ("dont know how to handle " + command); }