Posted 22 September 2012 - 07:08 AM
I want to make a spawning machine, but I can't figure out why a string is unfinished. I'm new to lua, and have seen tutorials. I just can't figure out whats wrong with line 12. Thanks for the help!
os.pullEvent = os.pullEventRaw
term.clear()
term.setCursorPos(1, 1)
textutils.slowPrint("How many chickens would you like?")
sleep(1)
textutils.slowPrint("Enter amount: ")
term.setCursorPos(14, 2)
imput = read()
shell.run(redpulse, bottom, "..imput..", 1")
reboot(3)
os.pullEvent = os.pullEventRaw
term.clear()
term.setCursorPos(1, 1)
textutils.slowPrint("How many chickens would you like?")
sleep(1)
textutils.slowPrint("Enter amount: ")
term.setCursorPos(14, 2)
imput = read()
shell.run(redpulse, bottom, "..imput..", 1")
reboot(3)