1st goto is crap, while offers you the possibility to jump without the need of jump-points you need with goto.

2nd this solution does not provide the internal structure of a real switch, but it avoids the check of all following ifs that don't need to be checked any more.

3rd C-Script ruuuuuuuuuuulez! ;-)


My project Schlacht um Kyoto - Das Samurai Browsergame! (sorry, german only)