Skip to content

ErrEcho(string)

The ErrEcho Lua function prints a red error message on the System Monitor.

  • String:
    The string text is to be printed to the System Monitor.

This function does not return anything.

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