Okay, so I tried to make the script as it follows by looking at the wiki. I honestly didn't understand much, in fact, I tried to run the script and it didn't work. What did I do wrong?
local call = "hi"
local function onPlayerChatted(player, message, recipient)
if string:sub(message, 1, call:len()):lower() == call:lower() then
print("Hi")
end
end
Thank you very much if you are going to help me.

2 comments
i also have fun doing that, i also did a script like that but, well i guess the thing who sees it is the client not the server
ok