Advertisement
xPrrox

Untitled

Apr 15th, 2022
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. local chatbox = peripheral.find("Chatbox")
  2. while true do
  3. local event, side, player, message = os.pullEvent("chat_message")
  4. if message == "hello" then
  5. chatbox.say("Hello "..player.."!")
  6. end
  7. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement