Syntax
rconsoleinfo(...values?: ..any)Aliases
consoleinfoArguments
| Name | Type | Description |
|---|---|---|
...values? | ..any | Optional values. If a console exists, each value is converted to strings and joined with tab characters before writing. |
Description
Writes zero or more values to the current Windows console with stdout after setting the console text attribute to info text color. Values are converted to strings, separated with tabs, and the text attribute is set to default console text color afterward. If no console window exists, the call returns without converting or writing anything.
Call it with 1 parameter(s): ...values. The argument table explains which values are required and which ones only refine the behavior.
It does not return data. Treat the call as an action and handle errors around the call site when needed.
Example
Write a bright blue message to the current Windows console.
rconsolecreate()
rconsoleinfo("Connected", "
")