Navigation menu

Engine:CCMD lua.lua edit: Difference between revisions

Jump to navigation Jump to search
Line 17: Line 17:
While the 'lua' context has the ability to hold variables and aliases, they cannot be created from script as the 'lua' context has no 'alias', 'set' or 'var' type script commands added to the context.
While the 'lua' context has the ability to hold variables and aliases, they cannot be created from script as the 'lua' context has no 'alias', 'set' or 'var' type script commands added to the context.


Outer return statement:
;Outer return statement:
If the outer scope of the Lua code calls return, the return values will be printed. For example: <kua>
If the outer scope of the Lua code calls return, the return values will be printed. For example: <kua>
context lua
context lua