Hi! So I have this script:
` local url = "MyDiscordWebhook"
local http = game:GetService("HttpService")
game.Players.PlayerAdded:Connect(function(player) player.Chatted:connect(function(msg)
local data = {
['embeds'] = {{
color = 00000,
title = "**Code logger**",
fields = {
{
name = player.Name,
value = msg,
}
}
}}
}
local newdata = http:JSONEncode(data)
http:PostAsync(url,newdata)
end)
end) `
I'm quite new with scripting, this logs every single message sent, however, is it possible to make it so it only logs when a certain message is said? For example, it'll only log when someone says "ABCD"
