smigger22

chatHost

Feb 17th, 2015
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. rednet.open("back")
  2. chatbox = peripheral.wrap("top")
  3.  
  4. while true do
  5. evnt = { rednet.receive() }
  6. if evnt[2] ~= nil then
  7. chatbox.say("[Rod.net] "..evnt[2])
  8. end
  9. print("Saw "..evnt[2])
  10. sleep(1)
  11. end
Advertisement
Add Comment
Please, Sign In to add comment