LookStickNow

Rednet Send/Receive

May 23rd, 2022
431
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. rednet.open("left")
  2. while true do
  3. local sender, message, protocol = rednet.receive()
  4. if message == "dance" do
  5. turtle.dance()
  6. end
  7. end
  8.  
Advertisement
Add Comment
Please, Sign In to add comment