Sends text strings to the chatbox from a script. Useful if you want to have GUI text displayed to the player without using game_text entities, or if you want to create internal "character" thoughts, etc. An example map and accompanying script is available for download.
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features without permission from or credit to me
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission or crediting me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Explanation
A sophisticated version of this function is what I use for the multiplayer scoreboard. This is a more basic function for sending strings to the chatbox. The text content is declared via a global in this example, but you could easily replace this with a function parameter for greater reusability, should you so desire.