Engine:CCMD lua.exit: Difference between revisions

(Created page with "{{dev/uiccmd}} Creates a new variable in the current context, if doesn't exist. If exists is ignored. <kua>lua exit</kua> == Arguments == * none == Details == Used in the 'lua' context to exit the context, as the 'context' command is not available. Will switch to the 'global' context when run. == Examples == === Default values === * Enters 'lua' context, runs command, switches contexts back. <kua> > context global > context lua > print(1 + 2) 3 > exit > context global...")
 
 
(2 intermediate revisions by the same user not shown)
Line 24: Line 24:


== Notes ==
== Notes ==
* If variable already exists, will not trigger any associated events when attempting to set.
*