SHOW:
|
|
- or go back to the newest paste.
1 | while true do | |
2 | local _, player, message, uuid = os.pullEvent("chat_message") | |
3 | - | if message:find("[Hh]ello") then |
3 | + | if message:find("MyMs") then |
4 | - | print(player .. "said hello!") |
4 | + | print(player .. " has " .. message) |
5 | end | |
6 | end | |
7 |