jump.tf Forums
Welcome B)

Need help making a script config to bind mousewheel down to jump on/off

Droy · 7 · 1884

Droy

  • Newbie
  • *
    • Posts: 5
    • Frags: +0/-0
    • View Profile
Hey guys, basicly I just learned how to bhop but I always have to go into options to bind jump to mousewheel and when done do the same reverse and bind mousewheel again to next wep.

So I wanted a script that by pressing a key it would switch what my mousewheel down would do, in this case jump/ changing to next weapon. Idealy the script would also bind my space key back to jump.

Thanks very much if anyone can do this.


AI

  • Administrator
  • Proficient
  • *****
    • Posts: 419
    • Frags: +0/-0
  • Plugins Developer
    • View Profile
    • Jump Academy
Code: [Select]
alias togglemw togglemw0
alias togglemw0 "bind MWHEELDOWN +jump; alias togglemw togglemw1"
alias togglemw1 "bind MWHEELDOWN invnext; alias togglemw togglemw0"


Droy

  • Newbie
  • *
    • Posts: 5
    • Frags: +0/-0
    • View Profile
Code: [Select]
alias togglemw togglemw0
alias togglemw0 "bind MWHEELDOWN +jump; alias togglemw togglemw1"
alias togglemw1 "bind MWHEELDOWN invnext; alias togglemw togglemw0"

Im guessing I just bind a key to togglemw0?


Droy

  • Newbie
  • *
    • Posts: 5
    • Frags: +0/-0
    • View Profile
Im sorry but I dont get how I can use this script, I have added it onto my cfg




Droy

  • Newbie
  • *
    • Posts: 5
    • Frags: +0/-0
    • View Profile
I end up doing this btw, worked fine, given me by john

alias togglemw0 "bind MWHEELDOWN +jump; bind PGUP togglemw1"
alias togglemw1 "bind MWHEELDOWN invnext; bind PGUP togglemw0"
togglemw1