Mousewheel Toggle Script

SlavakSlavak Join Date: 2005-02-19 Member: 41765Members
edited May 2005 in Scripting Discussion
FINALLY GOT IT WOOOT

<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->//pistol script
alias "ub" "unbind mwheeldown; unbind mwheelup"
alias "muj" bind "mwheelup" "+jump"
alias "mua" bind "mwheelup" "+attack"
alias "mdj" bind "mwheeldown" "+jump"
alias "mda" bind "mwheeldown" "+attack"
alias "jump" "muj; mdj"
alias "attack" "mua; mda"

bind "1" "ub; slot1; jump"
bind "2" "ub; slot2; attack"
bind "3" "ub; slot3; jump"
bind "4" "ub; slot4; jump"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

im sure one of you can write a better one but idk, I FINALLY GOT IT!!!!!!!!!!!!!!!!!


unfortunitly it dosnet work on mp_bs 1.....

any idea why?

Comments

  • UzguzUzguz Join Date: 2003-06-05 Member: 17016Members, Constellation
    It's because the keys 1-4 are bound to multiple commands. Encapsulate those into aliases, and bind the keys to them instead; that should do it.
  • HivelordHivelord Join Date: 2003-06-21 Member: 17567Members, Reinforced - Shadow
    <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->// Mwheel Attack Slot2
    alias "FOUR" "SLOT4;BIND MWHEELUP +JUMP;BIND MWHEELDOWN +JUMP"
    alias "THREE" "SLOT3;BIND MWHEELUP +JUMP;BIND MWHEELDOWN +JUMP"
    alias "TWO" "SLOT2;BIND MWHEELUP +aTTACK;BIND MWHEELDOWN +ATTACK"
    alias "ONE" "SLOT1;BIND MWHEELUP +JUMP;BIND MWHEELDOWN +JUMP"
    bind 1 "ONE"
    bind 2 "TWO"
    bind 3 "THREE"
    bind 4 "FOUR"
    // Mwheel Attack Slot2<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    this works
Sign In or Register to comment.