Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- re = peripheral.wrap("left")
- display = 53
- while true do
- x,y = rednet.receive()
- if x == display then
- print(y)
- turtle.drop()
- if y == 1 then
- re.setFreq(4242)
- elseif y == 2 then
- re.setFreq(4243)
- print("sent to 2")
- elseif y == 3 then
- re.setFreq(4244)
- end
- re.set(true)
- os.sleep(1)
- re.set(false)
- turtle.suck()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement