49
edits
No edit summary |
|||
| Line 17: | Line 17: | ||
== Examples == | == Examples == | ||
=== Default values === | === Default values === | ||
* Check | * Check bind 'Z' for script value. No bind exists for key 'Z'. | ||
<kua> | <kua> | ||
> bind Z | > bind Z | ||
Unknown: | Unknown: Z | ||
</kua> | </kua> | ||
* | * Create a bind for Z key to echo 'fred'. | ||
<kua> | <kua> | ||
> | > bind Z "echo fred" | ||
</kua> | </kua> | ||
* | * Close console and press 'Z' key. Prints 'fred'. | ||
<kua> | <kua> | ||
fred | fred | ||
</kua> | </kua> | ||
* Same as the first example, but now | * Same as the first example, but now bind 'Z' exists and shows the value of the bind 'Z' | ||
<kua> | <kua> | ||
> alias bob | > alias bob | ||