You typed an incomplete wait command. Be sure you followed the script format, and that you typed the necessary parameter(s) for a wait command.