rconsoleprint

Writes a line to the console.

Syntax

Signature
rconsoleprint(...: any) -> boolean

Aliases

  • consoleprint

Parameters

ParameterTypeDescription
......anyValues converted to text and separated with spaces.

Returns

TypeDescription
booleanWhether the Windows write succeeded, or the macOS text could be converted to UTF-8 window text.

Notes

Windows falls back to standard output if the console write fails. macOS queues the line for its console window.

Example

Luau
rconsoleprint("hello")