Console API
console.log(message)
Print message to console (same as print()).
console.log("Hello from Lua")
print(...)
Standard Lua print, outputs to renef client.
print("Value:", 42)
print(string.format("Hex: 0x%x", 255))
Global Color Codes
Available color codes for terminal output:
print(RED .. "Error!" .. RESET)
print(GREEN .. "Success!" .. RESET)
print(YELLOW .. "Warning" .. RESET)
print(BLUE .. "Info" .. RESET)
print(CYAN .. "Debug" .. RESET)
print(MAGENTA .. "Trace" .. RESET)
print(WHITE .. "Normal" .. RESET)
Available colors:
RESET- Reset to defaultRED,GREEN,YELLOW,BLUE,MAGENTA,CYAN,WHITE