Comunication Meta Script

attritionattrition Join Date: 2004-10-13 Member: 32242Members
edited March 2005 in Scripting Discussion
<div class="IPBDescription">+/- key</div> For cs I know there are meta buy scripts (the kind where you hold a key down and then press another), where they can script a key to act like a shift modifier. I’ve even seen 2 step meta scripts before. My question is this: Could someone make a script that while pressing caps lock, can activate communication binds on keys q-r a-f and z-v. That way I wouldn’t have to move my hand all the way over to the number pad to use them.

If someone else had a lot of binds something like this might help too.

<a href='http://www.counter-script.net/index.php?id=17' target='_blank'>http://www.counter-script.net/index.php?id=17</a> That might give you some idea of what im talking about.

Comments

  • WyzcrakWyzcrak Pot Pie Aficionado Join Date: 2002-12-04 Member: 10447Forum Moderators, Constellation, NS2 Playtester, Squad Five Blue
    Here's something similar, which N3 created for me over at <a href='http://www.nsguides.org/forums/index.php?showtopic=63&view=findpost&p=267' target='_blank'>nsguides.org</a>:
    <!--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-->alias enemy1 "say_team enemy"
    alias enemy2 "say enemy"
    alias medpack1 "say_team medpack"
    alias medpack2 "say medpack"
    alias ammo1 "say_team ammo"
    alias ammo2 "say ammo"
    alias bldg1 "say_team bldg"
    alias bldg2 "say bldg"
    alias neg1 "say_team neg"
    alias neg2 "say neg"
    alias np1 "say_team np"
    alias np2 "say np"
    alias mvng1 "say_team mvng"
    alias mvng2 "say mvng"
    alias rdy1 "say_team rdy"
    alias rdy2 "say rdy"
    alias grdng1 "say_team grdng"
    alias grdng2 "say grdng"
    alias rgr1 "say_team rgr"
    alias rgr2 "say rgr"
    alias ty1 "say_team ty"
    alias ty2 "say ty"
    alias 2hives1 "say_team two hives"
    alias 2hives2 "say two hives"
    alias parasited1 "say_team parasited"
    alias parasited2 "say parasited"

    alias say1 "bind KP_HOME enemy1; bind KP_UPARROW medpack1; bind KP_PGUP ammo1; bind KP_LEFTARROW bldg1; bind KP_5 neg1; bind KP_RIGHTARROW np1; bind KP_END mvng1; bind KP_DOWNARROW rdy1; bind KP_PGDN grdng1; bind KP_INS rgr1; bind KP_DEL ty1; bind KP_MINUS 2hives1; bind * parasited1"

    alias say2 "bind KP_HOME enemy2; bind KP_UPARROW medpack2; bind KP_PGUP ammo2; bind KP_LEFTARROW bldg2; bind KP_5 neg2; bind KP_RIGHTARROW np2; bind KP_END mvng2; bind KP_DOWNARROW rdy2; bind KP_PGDN grdng2; bind KP_INS rgr2; bind KP_DEL ty2; bind KP_MINUS 2hives2; bind * parasited2"

    say1
    alias +st say2
    alias -st say1
    bind kp_enter +st<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
    It uses numpadEnter instead of CAPSLOCK and numpad keys instead of the letters, but it's exactly the same thing. I simply use the numpadEnter to toggle between team and all in my say commands (as opposed to between movement and communication).

    I hope that helps you.
  • attritionattrition Join Date: 2004-10-13 Member: 32242Members
    Thanks thats exactly what i was looking for... I'll just reformat it a little for my needs.
Sign In or Register to comment.