two commands at once?
Quote from Bosf on February 28, 2008, 10:34 amI know it sounds insane but-Who have some experience with linux i explain it for him:
when you type
command1 & command2
It do command1 and after it command2.
I have two commands but i want to bind them.And i dont want to press button A and after it B.I want to press A and execute two commands at once.Thank you.
I know it sounds insane but-Who have some experience with linux i explain it for him:
when you type
command1 & command2
It do command1 and after it command2.
I have two commands but i want to bind them.And i dont want to press button A and after it B.I want to press A and execute two commands at once.Thank you.
The device has been modified,so you has been PWNED!
Quote from Bosf on February 28, 2008, 11:30 amyeah thanks but command ; command works too hey and i want to bind
sv_cheats 1 when its set to 0 and sv_cheats 0 when its set to 1.How?Thanks!
yeah thanks but command ; command works too hey and i want to bind
sv_cheats 1 when its set to 0 and sv_cheats 0 when its set to 1.How?Thanks!
The device has been modified,so you has been PWNED!
Quote from rellikpd on February 28, 2008, 11:42 amBosf wrote:yeah thanks but command ; command works too hey and i want to bind
sv_cheats 1 when its set to 0 and sv_cheats 0 when its set to 1.How?Thanks!i don't know if this works exactly the same, but its how i did it in quake and so far pretty much all the aliasing and binding has been the same for me
alias chON "sv_cheats 1;wait;bind k chOFF"
alias chOFF "sv_cheats 0;wait; bind k chON"
bind k chONand just change "k" with whatever key you want to use it as
sv_cheats 1 when its set to 0 and sv_cheats 0 when its set to 1.How?Thanks!
i don't know if this works exactly the same, but its how i did it in quake and so far pretty much all the aliasing and binding has been the same for me
alias chON "sv_cheats 1;wait;bind k chOFF"
alias chOFF "sv_cheats 0;wait; bind k chON"
bind k chON
and just change "k" with whatever key you want to use it as
Quote from Bosf on February 28, 2008, 11:47 amthanks for alias command.it works bit before i set it-MADNESS!
i use it for turn off hud too.] alias "hudOFF" "cl_drawhud 0 ; crosshair 0 ; impulse 200 ;bind "tab" "hudON" "
] alias "hudON" "cl_drawhud 1 ; crosshair 1 ; impulse 200 ; bind "tab" "hudOFF" "
] bind "tab" "hudOFF"LOL
I never want to do it again. where its saved?
thanks for alias command.it works bit before i set it-MADNESS!
i use it for turn off hud too.
] alias "hudOFF" "cl_drawhud 0 ; crosshair 0 ; impulse 200 ;bind "tab" "hudON" "
] alias "hudON" "cl_drawhud 1 ; crosshair 1 ; impulse 200 ; bind "tab" "hudOFF" "
] bind "tab" "hudOFF"
LOL
I never want to do it again. where its saved?
The device has been modified,so you has been PWNED!
Quote from rellikpd on February 28, 2008, 12:01 pmBosf wrote:thanks for alias command.it works bit before i set it-MADNESS!
i use it for turn off hud too.] alias "hudOFF" "cl_drawhud 0;crosshair 0;impulse 200;bind "tab" "hudON" "
] alias "hudON" "cl_drawhud 1;crosshair 1;impulse 200;bind "tab" "hudOFF" "
] bind "tab" "hudOFF"LOL
I never want to do it again. where its saved?
ok in your
C:Program FilessteamSteamAppsSTEAMIDportalportalcfg
directory make a new text file and name it whatever example hudcon.cfg and make sure it saves as a simple ascii-text file. in that file put your commands; example:
- Code: Select all
alias hudOFF "cl_drawhud 0;crosshair 0;impulse 200;bind tab hudON"
alias hudON "cl_drawhud 1;crosshair 1;impulse 200;bind tab hudOFF"
bind tab hudOFFthen save it
then in the game. type
- Code: Select all
exec hudcon
and it should help you autotype also
i use it for turn off hud too.
] alias "hudOFF" "cl_drawhud 0;crosshair 0;impulse 200;bind "tab" "hudON" "
] alias "hudON" "cl_drawhud 1;crosshair 1;impulse 200;bind "tab" "hudOFF" "
] bind "tab" "hudOFF"
LOL
I never want to do it again. where its saved?
ok in your
C:Program FilessteamSteamAppsSTEAMIDportalportalcfg
directory make a new text file and name it whatever example hudcon.cfg and make sure it saves as a simple ascii-text file. in that file put your commands; example:
- Code: Select all
alias hudOFF "cl_drawhud 0;crosshair 0;impulse 200;bind tab hudON"
alias hudON "cl_drawhud 1;crosshair 1;impulse 200;bind tab hudOFF"
bind tab hudOFF
then save it
then in the game. type
- Code: Select all
exec hudcon
and it should help you autotype also
Quote from Bosf on February 28, 2008, 4:17 pmhey but when i ran portal once that alias was not found.Unkown command hudOFF.Waht should i do now?
hey but when i ran portal once that alias was not found.Unkown command hudOFF.Waht should i do now?
The device has been modified,so you has been PWNED!
Quote from rellikpd on February 28, 2008, 6:34 pmBosf wrote:hey but when i ran portal once that alias was not found.Unkown command hudOFF.Waht should i do now?follow my instructions.. make a config file in your /portal/cfg directory name it whatever you want (suggest hudcon.cfg) and put all your aliases and binding in there and then when you get in the game just run the config file (use: "exec hudcon") and then everything should be aliased and bound.
follow my instructions.. make a config file in your /portal/cfg directory name it whatever you want (suggest hudcon.cfg) and put all your aliases and binding in there and then when you get in the game just run the config file (use: "exec hudcon") and then everything should be aliased and bound.
Quote from Bosf on February 29, 2008, 7:13 ami dont want to type it again anda again...When you type
bind key command
After you launch portal once again its not bound.
when you type
bind "key" "command"
It will be bind all the time.
when i type
alias key command
after i launch portal once again its- not aliased.
when i type
alias "key" "command"
after i launch portal once again its- not aliased???Can some comand fix it at all?
i dont want to type it again anda again...When you type
bind key command
After you launch portal once again its not bound.
when you type
bind "key" "command"
It will be bind all the time.
when i type
alias key command
after i launch portal once again its- not aliased.
when i type
alias "key" "command"
after i launch portal once again its- not aliased???Can some comand fix it at all?
The device has been modified,so you has been PWNED!
Quote from rellikpd on February 29, 2008, 9:11 amBosf wrote:i dont want to type it again anda again...When you type
bind key command
After you launch portal once again its not bound.
when you type
bind "key" "command"
It will be bind all the time.
when i type
alias key command
after i launch portal once again its- not aliased.
when i type
alias "key" "command"
after i launch portal once again its- not aliased???Can some comand fix it at all?ok i already told you. and for the 3rd time. goto your portal/portal/cfg directory (should be something like this)
C:Program FilessteamSteamAppsSTEAMIDportalportalcfg
and in that directory make a new text file and name it whatever (example; hudcon.cfg) and make sure it saves as a simple ascii-text file. in that file put your commands; example:
- Code: Select all
alias hudOFF "cl_drawhud 0;crosshair 0;impulse 200;bind tab hudON"
alias hudON "cl_drawhud 1;crosshair 1;impulse 200;bind tab hudOFF"
bind tab hudOFFthen save it
then in the game. type
- Code: Select all
exec hudcon
and it should help you autotype also
bind key command
After you launch portal once again its not bound.
when you type
bind "key" "command"
It will be bind all the time.
when i type
alias key command
after i launch portal once again its- not aliased.
when i type
alias "key" "command"
after i launch portal once again its- not aliased???Can some comand fix it at all?
ok i already told you. and for the 3rd time. goto your portal/portal/cfg directory (should be something like this)
C:Program FilessteamSteamAppsSTEAMIDportalportalcfg
and in that directory make a new text file and name it whatever (example; hudcon.cfg) and make sure it saves as a simple ascii-text file. in that file put your commands; example:
- Code: Select all
alias hudOFF "cl_drawhud 0;crosshair 0;impulse 200;bind tab hudON"
alias hudON "cl_drawhud 1;crosshair 1;impulse 200;bind tab hudOFF"
bind tab hudOFF
then save it
then in the game. type
- Code: Select all
exec hudcon
and it should help you autotype also