Changes

From Vendetta Online Wiki
Jump to: navigation, search

Binds

514 bytes added, 03:47, 27 July 2010
/* Using Quotes */
#Clean up the WGAF file by removing any '/' characters at the beginning of the aliases and/or binds you copied.
==Deleting a bind while in the game==
 
While in the game, on the command line, just bind the key to a non-existent command. Usually this can be accomplished by hitting random keys until satisfied that you have a non-existent command:
 
/bind o asdgf8af
 
The game will report that command "asdg.." does not exist.
 
Further calls to ''/bind o'' will indicate that the key is not bound to anything. When you restart the game and check wgaf.cfg, the bind will be gone.
 
Unfortunately aliases cannot be "deleted" in the same way.
==Loading a Bind (/load filename.cfg)==
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