Posted 27 February 2012 - 12:44 AM
Uses a password in order to complete the command.
ex:
turn on computer
bombrun
enterpassword: ****
Correct
and then the turtle does… the bombrun. took me a while though :)/>/>
and its an actual password. Finally
ex:
turn on computer
bombrun
enterpassword: ****
Correct
and then the turtle does… the bombrun. took me a while though :)/>/>
and its an actual password. Finally
local function clearScreen()
term.clear()
term.setCursorPos(1,1)
end
while true do
clearScreen()
print("Welcome")
write"Password:"
if read("*") == "Passwordhere" then
print('Correct")
sleep(1)
clearScreen()
for n=1,2 do turtle.up() end
while true do
for n=1,10 do turtle.forward()
end
turtle.placeDown()
rs.setOutput("bottom", true)
sleep(0.1)
rs.setOoutput("bottom", false)
end
else
print("Incorrect")
sleep(2)
os.shutdown()
end
end