Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Server to control turtles
- local modem = peripheral.wrap("left") --wrap modem on left
- while true do --start loop
- os.pullEvent("redstone")
- if rs.getInput{"front"} then --place button on front
- modem.transmit(80, 81, "trigger") -- transmit on channel 80
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement