-- This function is called when a player says something in the chat

function onPlayerChatted(player, message)
	 -- Check if the message is the same as the player's secret
	 if message == tostring(secret) then
		 -- If the message is the same as the secret, kick the player with a custom message
		 player:Kick("You couldn't keep a secret")
		 end
end