finally.. Welcome to the forum
Its much easier to explain stuff here..
an alias is easy to do. Basically all you have to do is:
- Code: Select all
alias NAME COMMAND
and then to use your alias you use NAME. If Command is not just one command you have to seperate them with ; and when COMMAND includes a space or ; you have to surround it with " (which is basicly each time as alias would then be pretty nonsense..)
some examples:
- Code: Select all
alias exit quit
alias laser "impulse 1"
alias zoom zoom1
alias zoom1 "fov 90; echo normal; alias zoom zoom2"
alias zoom2 "fov 100; echo more; alias zoom zoom3"
alias zoom3 "fov 110; echo even more; alias zoom zoom4"
alias zoom4 "fov 120; echo still more; alias zoom zoom1"
bind x zoom
If you want aliases to persist create a file Nexuiz/data/autoexec.cfg and write them into there. aliases are never saved but this file is read when Nexuiz starts and this file exists so it will read those aliases then.