Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local wireless = peripheral.wrap("top")
- rednet.open("top")
- while true do
- local id, message, protocol = rednet.receive()
- if message == "hey" then
- fs.open("Working","w")
- fs.write("this works")
- fs.close()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement