Is there a way to do custom /say commands?

I've looked it up, and apparently there is not a way to. But, there's an NPC in my map where I have it "talking" with a /say
command. So, is there a way to make it say something like [(NPC Name)] (Text)
without mods?
Best Answer
Try
/tellraw @a {text:"Insert Text Here"}
If you run this command the @a
runs the command for every player and they will all see the message "Insert Text Here" in the chat.
You can edit the text color by using this command
/tellraw @a {"text": "This Text Is Now Green", "color": "green"}
Now the text "This Text Is Now Green" will show up on every players' Screen in a green text.
You can make the text as long as you want it.
Pictures about "Is there a way to do custom /say commands?"



How do you make a command block say custom words?
You can use the /say command to send a public message to all players in a Minecraft world (see also /msg, /tell or /w for private message).How do you make a command say something in Minecraft?
With our Game panel, you have the option to create custom commands. These Commands are special functions that can be executed by the panel or in-game to perform a particular task such as backing up, restarting or even issuing in-game commands on the server.How To Make Command Blocks Say Custom Words [On Screen AND in Chat!]
More answers regarding is there a way to do custom /say commands?
Answer 2
Rename the command block in an anvil.
If you name it "Bob" and give it the command /say "hello"
it should come up as
[Bob] Hello
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Evgenia Basyrova, Luis Quintero, Pixabay, veeterzy