Posted 06 October 2012 - 10:33 PM
Hey guys, no idea whats going wrong here
bios:206 : [string "Door"]:4: '=' expected
Hapl :D/>/>
bios:206 : [string "Door"]:4: '=' expected
Hapl :D/>/>
local password = "test"
while true do
term.clear
term.setCurserPos(1,1)
print ("Enter Password")
input = read("*")
if input == "password" then
turtle.digUp()
turtle.forward(1)
sleep(5)
turtle.back(1)
turtle.placeUp()
else
sleep(1)
end
end