Engine:CCMD var: Difference between revisions

no edit summary
No edit summary
Line 6: Line 6:
* name - name for new variable
* name - name for new variable
* value (optional) - the value to set. If no value, then prints value if exists
* value (optional) - the value to set. If no value, then prints value if exists
== Details ==
Can be used to set defaults for values.


== Examples ==
== Examples ==
=== Default values ===
* 'var' called with 'bob' without a value. Variable 'bob' doesn't exist.
* 'var' called with 'bob' without a value. Variable 'bob' doesn't exist.
<kua>
<kua>