djkrose / 7DTD-ScriptingMod

Adds scripting support and other useful functionality to 7 Days To Die dedicated server
19 stars 10 forks source link

Give lua access to console:log/info/warn/error/debug functions because why not! #34

Open credomane opened 6 years ago

credomane commented 6 years ago

Adds the "JsConsole" to Lua! Call them like so:

console:log("Lua console:log()");
console:info("Lua console:info()");
console:warn("Lua console:warn()");
console:error("Lua console:error()");
console:debug("Lua console:debug()");