rconsoleinput
Reads a console line.
Syntax
rconsoleinput() -> nil
Parameters
This function takes no parameters.
Returns
| Type | Description |
|---|---|
nil | This function does not return a value. |
Description
rconsoleinput is part of the Console library. Console functions open and control a separate console window attached to the executor process; its state is independent of the game UI.
The operation is performed immediately using the arguments supplied at the call site.
The aliases consoleinput() resolve to the same implementation.
Example
local text = rconsoleinput()
print("input:", text)
Notes
- Aliases:
consoleinput(). - Console windows stay open until explicitly destroyed.