Posted 08 July 2012 - 09:56 PM
So I'm really new to computercraft and programming in general, but I wanted to do a simple program to display on a monitor (so that I could go from it later).
local a = io.read()
local input = "pie"
if a == input then
term.clear()
textutils.slowPrint("It worked!")
term.redirect(right)
print("IT WORKED!!!")
else
term.clear()
print("It still worked")
end
This does not work and I don't understand why. Please help or explain.