you say the line "gets $x"

What do I put in place, or modify to make this script work without having the user to hit the ENTER to proceede furhter?