Is there somethign wrong with this

Blitz3D Forums/Blitz3D Beginners Area/Is there somethign wrong with this

Function maininput()
Print"please type a command"
in$=Input()
check()
End Function

Function check()
If Lower$(in$)="start"
startserver()
ElseIf Lower$(in$)="exit"
End
Else
Print"No command found"
EndIf
End Function

is there