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.

Syntax
Luau
rconsoleinfo(data: any, async: boolean?) -> ()

Parameters

Function parameters
ParameterTypeDescription
dataanyValue to stringify and print.
asyncboolean?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

Example
Luau
rconsoleshow()
rconsoleinfo("Settings saved")