02.12.2015, 05:21
You need to add all the proper closing and opening brackets to your script, i can see by looking at it that it's not properly indented and you are missing some closing brackets.
the switch statement needs to be tabbed (4 spaces) and then you need to add the closing bracket for the else statement
the switch statement needs to be tabbed (4 spaces) and then you need to add the closing bracket for the else statement