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.
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