Advertisement
goldfiction

chatrecord

Aug 10th, 2023
758
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.16 KB | None | 0 0
  1. while true do
  2.     local _, player, message, uuid = os.pullEvent("chat_message")
  3.     if message:find("[Hh]ello") then
  4.         print(player .. "said hello!")
  5.     end
  6. end
  7.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement