Engine:Console commands: Difference between revisions

Line 35: Line 35:


Global commands:
Global commands:
: [[CCMD varedit|varedit]] - (none), / - Prints or sets an existing variable. If variable not exist then fails.
: [[CCMD varedit|varedit]] - (none), / - Sets an existing variable. If variable does not exist then fails.
: [[CCMD var|var]] - var, /var - Creates a variable. If already exists, then does not change value.
: [[CCMD var|var]] - var, /var - Creates a new variable only. If already exists, then does not change value.
: [[CCMD set|set]] - set, /set - Creates or sets variable. Works if already exists or not.
: [[CCMD set|set]] - set, /set - Creates or sets a variable. Works whether already exists or not.
: [[CCMD alias|alias]] - alias, /alias - New named script. Will change existing alias if already created.
: [[CCMD alias|alias]] - alias, /alias - New named script. Will change existing alias if already created.
: [[CCMD bind|bind]] - bind, /bind - Key to script.  Map a key to a script block.
: [[CCMD bind|bind]] - bind, /bind - Key to script.  Map a key to a script block.