ErrEcho - hossimo/GMA3Plugins GitHub Wiki

ErrEcho(string:format ...)

Breif:

Outputs a red colored string to the consoles System Monitor

Paramiters:

Name Description Optional
string:format lua formatted string see https://www.lua.org/pil/20.html for further details

Returns:

nil

Examples:

    ErrEcho("Testing, Testing " .. 100 + 20 + 3 .. "!")
    ErrEcho("Testing, Testing %d!", 100 + 20 + 3)
    local test = "Testing"
    ErrEcho("%s, %s %d!", test, test, 100 + 20 + 3) -- Testing, Testing 123 (decimal)
    ErrEcho("%s, %s %f!", test, test, 100 + 20 + 3 + 0.0) -- Testing, Testing 123.000000! (float)
    ErrEcho("%s, %s %x!", test, test, 2748) -- Testing, Testing abc (hex)