Posted 26 November 2012 - 06:22 AM
I'm not actually using ComputerCraft right now, but I'm doing it in the Lua live demo. I have some code that needs de-bugging. You can run it and see what errors you get in CC.
print ("Hi! I'm AlienAI Alpha 1.1! How was your day?")
print ("Good/Bad")
.yeild
io.read()
if "Good" then
print ("Mine was great also!")
end
if "Bad" then
print ("Aww! I hope it gets better!")
end
print ("Do you like music?")
print ("Yes/No")
.yield
if "Yes" then
print ("Me too!")
end
if "No" then
print ("Hmm. Never heard of someone who doesn't like music...")
end
print ("Oh well then. Goodbye!")