How to make a script wait for input
How do i make a script wait for user input to declare a variable?
like say i wanted it to do this:
What would you like the variable to be?
>test
Your variable is test.
I want to pause and wait for the user to input something that will declare a variable to be that input.
Any help is greatly appreciated. I am a n00b to all of this of course.
Thanks!
famerjoe
Last edited by farmerjoe; 12-28-2004 at 01:15 AM.
|