rconsoleinfo Synchronous
consoleinfo
Write an informational line to the script console with its Info label and color. Use it for a successful step that should stand out from plain output.
Luau
rconsoleinfo(data: any, async: boolean?) -> ()Parameters
| Parameter | Type | Description |
|---|---|---|
data | any | Value to stringify and print. |
async | boolean? | Optional compatibility boolean; validated but otherwise unused. |
Returns
()No values.
Usage notes
This writes to the script console. The separate info function follows the native Console redirection setting.
A displayed message is clipped at about 8 KiB or 128 lines. By default, the console keeps up to 300 entries within a 64 KiB text/layout budget and evicts older output. Use writefile for a complete log.
Example
Luau
rconsoleshow()
rconsoleinfo("Settings saved")