To use it place a turtle and a computer and install, then use (arrow keys and r - backspace)
arrow keys to move and r for redstone on and backspace to turn it off.
It will automaticly mine when its blocked.
I might update it more if you want me to.
btw enter to place blocks!
Video by me:
http://www.youtube.com/watch?v=M7vec2MO21M
program
Console:
function remote()
while true do
local sEvent, param = os.pullEvent("key")
if (sEvent == "key") then
if (param == 200) then
rednet.broadcast("forward")
elseif (param == 208) then
rednet.broadcast("backward")
elseif (param == 203) then
rednet.broadcast("left")
elseif (param == 205) then
rednet.broadcast("right")
elseif (param == 28) then
rednet.broadcast("place")
elseif (param == 19) then
rednet.broadcast("rs")
elseif (param == 14) then
rednet.broadcast("rsoff")
end
end
end
end
print("what side is your modem on?")
local side = read()
rednet.open(side)
term.clear()
textutils.slowPrint("Connection success!")
print("use arrow keys to move and r - backspace for movment and redstone on off.")\
remote()
Turtle:
function car()
while true do
local scrap, message = rednet.receive()
if message == "forward" then
print("forward")
if turtle.detect() == true then
turtle.dig()
end
turtle.forward()
elseif message == "backward" then
print("back")
turtle.back()
elseif message == "left" then
print("left")
turtle.turnLeft()
elseif message == "right" then
turtle.turnRight()
elseif message == "place" then
if turtle.detect() == true then
print("no where to place")
else
print("block placed")
turtle.place()
end
elseif message == "rs" then
rs.setOutput("front", true)
elseif message == "rsoff" then
rs.setOutput("front", false)
end
end
end
rednet.open("right")
textutils.slowPrint("Controller connected.")
car()
thankyou.