Advertisement
Yorbo

ChatNet2.0

Oct 21st, 2021
1,181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. ---
  2. --- Created by yannb.
  3. --- DateTime: 22/10/2021 02:36
  4. ---
  5.  
  6. local manip = peripheral.wrap("top")
  7. manip.getDocs()
  8. manip.listModules()
  9. if manip.hasModule("plethora:sensor") == true then
  10.     print("Setup Correctly")
  11. end
  12.  
  13. rednet.open("right")
  14.  
  15. while true do
  16.     local _, player, message, uuid = os.pullEvent("chat_message")
  17.     rednet.send(2, message)
  18. end
  19. rednet.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement