customized chat spam

how to do customized chat spam
?

Create txt file, write text than open cheat and write way to file