Advertisement
Guest User

startup

a guest
Nov 21st, 2014
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.46 KB | None | 0 0
  1. rednet.open("left")
  2.  
  3. while true do
  4.   id,message = rednet.receive()
  5.   if id == 62 then
  6.     if message == "Lava" then
  7.     turtle.select(1)
  8.     turtle.drop(1)
  9.     sleep(3)
  10.     redstone.setOutput("top",true)
  11.     sleep(1)
  12.     redstone.setOutput("top",false)
  13.     end
  14.     if message == "Creosote" then
  15.     turtle.select(2)
  16.     turtle.drop(1)
  17.     sleep(3)
  18.     redstone.setOutput("top",true)
  19.     sleep(1)
  20.     redstone.setOutput("top",false)
  21.     end
  22.   end
  23. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement