outputChatBox
Client-side
Server-side
Shared
This page is incomplete! Help wanted!
Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.
This outputs the specified text string to the chatbox. It can be specified as a message to certain player(s) or all players.
Note
Avoid outputting text to the chatbox that isn't actually chat, as this can be annoying for players. Output information and status messages to the HUD.
Syntax
outputChatBox ( )Code Examples
server
Example 1:This example displays a chat message to all users.
x = 5y = 10-- Displays the messageoutputChatBox ( "I have " .. x .. " apples and " .. y .. " oranges." )