ErrEcho(string)
Description
Section titled “Description”The ErrEcho Lua function prints a red error message on the System Monitor.
Argument
Section titled “Argument”- String:
The string text is to be printed to the System Monitor.
Return
Section titled “Return”This function does not return anything.
Example
Section titled “Example”This prints “This is a red error message!” on the system monitor:
| Copy CodeLua |
| ``` |
| return function() |
-- Prints an error message in the system monitor in red text.ErrEcho("This is an error message!")end