Talk:Rednet API/@comment-206.255.74.134-20121115012721/@comment-131.109.141.4-20121210150107

To make a computer power a redstone line you need to make a code like this,,, Its for a paswod door...

while true do term.clear term.setCursorPos(1, 1) print("Please Enter Password:") local input = read("*")

while true do term.clear term.setCursorPos(1, 1) print("Please Enter Password:") input = read("*") if input == "password" then redstone.setOutput("back", true) sleep(2) redstone.setOutput("back", false) end end