Posted 31 May 2012 - 11:23 PM
Ok, I'm getting an error for string <eof> expected.
Here is the code.
I would appreciate some help :)/>/>
Here is the code.
x = io.read()
-- Simple prints :3
print "Press enter after you write in the name"
write "Name : "
print (" Is this the name "..x.." you want?")
-- Variables.
y = yes
n = no
i = read()
-- If they have the name they want.
if i == y then
print "Good!"
end
-- If they dont. Says I'm getting the error on line 16, by the way.
elseif i == n then
print "Ok, then lets try again."
os.sleep(3)
term.clear()
os.sleep(1)
shell.run( "random" )
end
I would appreciate some help :)/>/>