Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("goto")
- goto.init("pos")
- rednet.open("right")
- ---[[
- while true do
- event, senderId, message, distance = os.pullEvent("rednet_message") --Recive the Hashed Table
- t = textutils.unserialize(message) --UnHash The Table
- print(t[0]) --debug
- print(t[1]) --debug
- if senderId == 85 then --If Its the Right Computer Do
- if tostring(t[0]) == RS then
- for i = 1,tonumber(t[1]) do
- turtle.suck()
- end
- else
- print("Somthing Failed")
- end
- end
- end
- --]]
Advertisement
Add Comment
Please, Sign In to add comment