Question About Binds/script

BizzyBizzy Join Date: 2004-09-19 Member: 31790Members
<div class="IPBDescription">Does anyone know how to..</div> ====================================================
( Im not asking for peoples feedback on scripting in general because thats a touchy subject. So lets keep opinions on scripts out of this plz.)
====================================================
Ok

I use the 3 jump script and it doesnt really work to well when your a lerk. each tap of space = about 3X more adren use than normal +jump


I then made a autoexec2.cfg file with my other scripts but w.o the +3jump script. And i have to type Exec autoexec.cfg or exec auto exec2.cfg depending on what script i want to use every time i want to evolve to lerk.

Question: Is there a way to bind my Z and my X key's to exec them with the stroke of either key?

Example : i press Z and it changes from the AutoExec.cfg to the AutoExec2.cfg

and X changes whatever Exec im using then to AutoExec.cfg.

Anyone with scripting knowledge know how to bind those two keys to do that for me?



Thx

Comments

  • KeyserKeyser Join Date: 2003-02-15 Member: 13591Members
    edited September 2004
    Wouldn't it just be better to have one autoexec, and then have your Z key or whatever switch your space binds between +jump and +3jumps?

    alias single "bind space +jump; developer 1; echo +jump; developer 0; alias switcher triple"
    alias triple "bind space +3jumps; developer 1;echo +3jumps; developer 0; alias switcher single"

    bind "Z" "switcher"
    bind "space" "+3jumps"

    You will start with space as triple jump, and if you hit Z it will switch your space to +jump. Every consecutive time you hit it after that it will switch.

    Let me know if it works, just kind of made it up on the spot.
  • ApolloGXApolloGX Join Date: 2003-09-13 Member: 20817Members
    i do this

    for example

    alias bhop "--your 3 jump script--"

    bind o "bind space +jump"
    bind p "bind space bhop"

    my alien cfg autobinds to bhop and

    bind pgdown "impulse ??toevolvetolerk??; bind space +jump"
Sign In or Register to comment.