Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function brick()
- print("Moving Foward")
- turtle.forward()
- print("Place Down")
- turtle.placeDown()
- end
- function move()
- redstone.setOutput("left",true)
- sleep(2)
- redstone.setOutput("left",false)
- turtle.forward()
- end
- function monitor()
- rednet.open("right")
- while true do
- print("Loop")
- local id, msg, dist = rednet.receive()
- print("??")
- print(msg)
- func = loadstring(msg.."(...)")
- setfenv(func, getfenv())
- func()
- rednet.send(id,"Done")
- end
- end
- print("Start")
- monitor()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement