Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open( "back" )
- local h = fs.open("log","w")
- while true do
- redstone.setOutput("left",true)
- redstone.setOutput("right",false)
- tEvent = { os.pullEvent() }
- if tEvent[1] == "rednet_message" then
- if tEvent[2] == 6529 then
- if tEvent[3] ~= "GravityCube" and tEvent[3] ~= "102112915" then
- h.writeLine(tEvent[3])
- h.flush()
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement