Advertisement
thatparadox

prtTutrle

Jun 21st, 2013
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. re = peripheral.wrap("right")
  4. re.setFreq(4242)
  5.  
  6. while true do
  7.   if re.get() == true then
  8.     turtle.drop()
  9.     os.sleep(5)
  10.     turtle.suck()
  11.   else
  12.     os.sleep(0.2)
  13.   end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement