Need little help. Bind swap.

Started by markan
04/08/2010 14:56
Page 1 of 1
markan04/08/2010 14:56

Hello. :) I play kreedz and hide n seek. But i got little problem - as a lefthander i play on arrows instead of classic wsad.

Lemme explain you :

Duck is binded on PGDN.
Jump is binded on Mouse2/Mwheeldown/PGUP
Attack - Mouse1
(lol).

All i need is script that when i press "chosed button" -
Bind "Mouse1" "+attack"
Bind "mouse1" "+duck"
( Its because when i press pgdn ill lose like 2/3 strafes at the end of the jump - but then at hns i cant really go to console and do that bind + attack stuff cos ill get pwned. )

Bind "BUTTON" "switch between Mouse1 +attack/+duck"...

I dont really know anything about scripting cos i dont need to. Could someone help me with my problem? :)

Ovidiu Dumitru04/08/2010 15:24

I don't know if this will work, but try these 2 options:

1)bind mouse1 +attack;+duck
2)alias duck "+attack;+duck"
bind mouse1 "duck"

markan04/08/2010 15:53

It doesnt :).. Its just that ill attack and duck (and stay ducked).. and its not what i was rly looking for. :)

I meant that when i press (lets just say) "O" - It will change my Mouse1 bind to +duck and when i pres "O" again, it will change back mouse1 to +attack. if u understand me :)

Ovidiu Dumitru05/08/2010 08:16

alias modespec "m1"
alias m1 "bind mouse1 +duck;echo duck mode ENABLED;alias modespec m2"
alias m2 "bind mouse1 +attack;-duck;echo duck mode DISABLED;alias modespec m1"
bind l modespec

note: I placed the bind on "L" key. If you want, you can change it.

markan05/08/2010 12:00

Thanks you. That was exactly what i needed. :)

Page 1 of 1

Please log in to post replies.