soulgriever Jun 30th, 2020 773 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Server to control turtles
  2. local modem = peripheral.wrap("left")  --wrap modem on left
  3. while true do  --start loop
  4.     os.pullEvent("redstone")
  5.     if rs.getInput{"front"} then --place button on front
  6.         modem.transmit(80, 81, "trigger") -- transmit on channel 80
  7.     end
  8. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand