You really need to upload your entire code, I suspect you have many syntax errors thats causing all your grief. E.g. above you have ent_move. old C-script move system when you should be using c move.
Use the 'manual' Luke, the manual is your friend. 'Self reminder'