Yorbo

ChatNet1.0

Oct 21st, 2021
906
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ---
  2. --- Created by yannb.
  3. --- DateTime: 22/10/2021 02:36
  4. ---
  5.  
  6. local manip = peripheral.wrap("top")
  7. rednet.open("right")
  8.  
  9. while true do
  10.     local _, player, message, uuid = os.pullEvent("chat_message")
  11.     rednet.send(2, message)
  12. end
  13. rednet.close()
RAW Paste Data