Advertisement
goldfiction

chatrecord3

Aug 10th, 2023
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. local c = peripheral.wrap("left")
  2. c.say("Running.")
  3. while true do
  4. local event, playerName, message = os.pullEvent("chat_message")
  5. print(string.format("Received \"%s\" from %s.", message, playerName))
  6. c.say(message)
  7. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement