Thinking about your script's usage of "GET" which captures a single keyboard input, I think you can simply check to see if you find the expected key stroke using a Select...Case...EndSelect construct and use a "Case 1" to trap any unexpected key press.
_________________________
Home page: http://www.kixhelp.com/hb/