Advertisement
Guest User

chat

a guest
Jun 25th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.14 KB | None | 0 0
  1. c = peripheral.wrap("top")
  2. m = peripheral.wrap("left")
  3.  
  4. while true do
  5.   e,player,msg = os.pullEvent("chat")
  6.   print(player, ": " ,msg)
  7. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement