Posted 02 April 2013 - 10:28 AM
make sure the redstone is behind your computer
print ("lights on or off")
input = read()
if input == "on" then
redstone.setOutput("back", true)
term.clear()
term.setCursorPos(1,1)
elseif input == "off" then
redstone.setOutput("back", false)
term.clear()
term.setCursorPos(1,1)
else
print ("Not a Valid Answer.")
sleep(3)
term.clear()
term.setCursorPos(1,1)
end