Advertisement
Guest User

2

a guest
Feb 28th, 2020
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. rednet.open("right") --enable the modem attached to the right side of the PC
  2. while true do
  3. id,message = rednet.receive() --sends sends message to the pcs nearby
  4. if id == 1 and message == "die" then
  5. rednet.broadcast("die")
  6. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement