Echo - hossimo/GMA3Plugins GitHub Wiki
Echo(string:format ...)
Breif:
Outputs a yellow 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:
Echo("Testing, Testing " .. 100 + 20 + 3 .. "!")
Echo("Testing, Testing %d!", 100 + 20 + 3)
local test = "Testing"
Echo("%s, %s %d!", test, test, 100 + 20 + 3) -- Testing, Testing 123 (decimal)
Echo("%s, %s %f!", test, test, 100 + 20 + 3 + 0.0) -- Testing, Testing 123.000000! (float)
Echo("%s, %s %x!", test, test, 2748) -- Testing, Testing abc (hex)