Advertisement
Guest User

place

a guest
May 25th, 2015
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. rednet.close("right")
  2. rednet.open("right")
  3.  
  4. while true do
  5.   local id, msg, prot = rednet.receive()
  6.  
  7.   if prot == "S_Wither" and msg == "place" then
  8.     print("Message: " .. msg)
  9.     turtle.select(1)
  10.     sleep(1)
  11.     turtle.place()
  12.   end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement