for this
which will give you a table with as many spaces are in the command for example:
game.Players.PlayerAdded:Connect(function(plr)
plr.Chatted:Connect(function(msg)
local split_result = string.split(msg," ")
if split_result[1] == '*' and split_result[2] == 'sneeze' then
--do whatever
end
end)
end)
i dont know how you could block a message, maybe look around on the dev forum for that