Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- function getEnd() =
- while true do
- if message == "stop" then
- textutils.slowPrint("Retrieving storage disk...")
- turtle.suckDown(1)
- break
- end
- end
- end
- while true do
- id,message = rednet.receive()
- if id == 10 then
- if message == "thaumcraft" then
- turtle.select(1)
- turtle.dropDown(1)
- getEnd()
- end
- if message == "science" then
- turtle.select(2)
- turtle.dropDown(1)
- getEnd()
- end
- if message == "magic" then
- turtle.select(3)
- turtle.dropDown(1)
- getEnd()
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement