Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --2618
- rednet.open("right")
- compId= 2551
- --a, b, c, d, e = os.pullEvent()
- --d === id e = message
- while true do
- id, message = rednet.receive()
- print(id .. message)
- --print(id)
- if id == compId and message == "penguin" then
- turtle.select(1)
- turtle.dropDown()
- elseif id == compId and message == "enderman" then
- turtle.select(2)
- turtle.dropDown()
- elseif id == compId and message == "empty" then
- turtle.suckDown()
- elseif id == compId and message == "blaze" then
- turtle.select(3)
- turtle.dropDown()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement