MrLegendaryKid@gmail.com
Guest
|
Post by MrLegendaryKid@gmail.com on Mar 20, 2014 19:41:15 GMT -5
I need help with this. what is a code or a whatever i can use to like scan for what people type in? im making like a quiz thatll ask them questions like their name or something. then at the end i will display all the information and stuff. its just something for fun. i need it to be something like... print("What is your name?") term.scaninput(or whatever it is called) print("Your name is " + input ) so if they say their name is Tom then itll go Your name is Tom now do you see what i mean? i have put my email as my name. please contact me with help.
|
|
|
Post by carter on Sept 20, 2014 20:37:07 GMT -5
you could use arguments
local args {...} a = args[1] b = args[2]
print ("Your name is"a)
note they would have to enter in there name at the start of the program
|
|