Changes

From Vendetta Online Wiki
Jump to: navigation, search

Binds

27 bytes removed, 03:47, 27 July 2010
/* Using Quotes */
To call an alias you can either bind it directly to a key, or call it directly from within another bind or alias.
bind “q” "~" masterturbo
alias foo masterturbo
alias +t "+turbo; alias -t masterturbo"
As this example demonstrates, you can also within the alias assign new aliases as part of the assigned alias. This nesting can get quite complex, but also gives you a great deal of control.
==Using Quotes==
Quotes need to be dealt with in a similar manner to other programming languages, with the exception that there is not an escape character. In order to nest a quote within a bind definition, you need to switch from the outside double quotes (“") to an apostrophe or single quote (‘').
In the below example, the alias example creates a new alias foo, that contains two commands included within the single quotes. It also calls a third alias, foo3.
7
edits