The endswitch statement simply ends a switch argument.
switch <gamevar> case <constant> <do something> break case <constant> <do something> break endswitch