Engine:CCMD lua.lua edit: Difference between revisions

Line 25: Line 25:
</kua> Will write '1' and '1100' to the engine log/console.
</kua> Will write '1' and '1100' to the engine log/console.


This is similar to an interactive Lua console's '=' convenience command like <code>=100</code>, where will output '100' in the console when '=' starts a console line, after the command is run.
This is similar to an interactive Lua console's '=' convenience command like <code>=100</code>, where will output '100' in the console when '=' starts a console line, after the command is run. In the engine real Lua interactive console, and this mechanism is special to only 'lua_edit', and is provided for similar convenience.


== Examples ==
== Examples ==