Engine:Console commands: Difference between revisions

Line 18: Line 18:
* Context - A script or command context. Each context may have its own commands and variables and rules. Examples:
* Context - A script or command context. Each context may have its own commands and variables and rules. Examples:
** <kua>client start</kua> Starts the client module. The 'client' context is addressable from 'global', and the client 'start' command is run.  
** <kua>client start</kua> Starts the client module. The 'client' context is addressable from 'global', and the client 'start' command is run.  
** <kua>context client; start; context global</kua> Also starts the client module. Switches to 'client', then runs the 'start' command, then switches back to global.
** <kua>context client; start; context global</kua> Also starts the client module. Switches to 'client'. Then runs the 'start' command from "inside" the 'client' context, then switches back to 'global'.
* Command - An engine module command, also referred to as a 'CCmd'.
* Command - An engine module command, also referred to as a 'CCmd'.
* Variable - An engine variable, similar to 'CVars' or config vars.
* Variable - An engine variable, similar to 'CVars' or config vars.