Engine:CCMD lua.lua edit: Difference between revisions

Line 51: Line 51:
> 3
> 3
script 'bob'
script 'bob'
fred
> fred
</kua>
</kua>


== Notes ==
== Notes ==
* While 'lua_edit' is intended make console Lua commands easy to run, can allow scripts and other types of macros to avoid lots of situations where complex logic would otherwise be required, by simply switching to the 'lua' context and then running a series of single line lua chunks.
* While 'lua_edit' is intended make console Lua commands easy to run, can allow scripts and other types of macros to avoid lots of situations where complex logic would otherwise be required, by simply switching to the 'lua' context and then running a series of single line lua chunks.