Advertisement
WaffleMast3r

ceva la repezeala ` lua

Nov 8th, 2017
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. rednet.open("right")
  2.  
  3. function forward()
  4. turtle.digUp()
  5. turtle.dig()
  6. turtle.digDown()
  7. turtle.forward()
  8. end
  9.  
  10. while true do
  11. local id, msg, protocol = rednet.receive()
  12. if msg == "w" and protocol == "Miner" then
  13. forward()
  14. end
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement