<!--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 kk1 "kk1a" alias kk2 "kk2a" alias kk3 "kk3a" alias kk4 "kk4a" alias kklastinv "kk1a" alias kk1a "kkslot1" alias kk1b "kkslot1; alias kklastinv kk2a" alias kk1c "kkslot1; alias kklastinv kk3a" alias kk1d "kkslot1; alias kklastinv kk4a" alias kkslot1 "slot1; alias kk1 kk1a; alias kk2 kk2a; alias kk3 kk3a; alias kk4 kk4a; act.s1" alias kk2a "kkslot2; alias kklastinv kk1b" alias kk2b "kkslot2" alias kk2c "kkslot2; alias kklastinv kk3b" alias kk2d "kkslot2; alias kklastinv kk4b" alias kkslot2 "slot2; alias kk1 kk1b; alias kk2 kk2b; alias kk3 kk3b; alias kk4 kk4b; act.s2" alias kk3a "kkslot3; alias kklastinv kk1c" alias kk3b "kkslot3; alias kklastinv kk2c" alias kk3c "kkslot3" alias kk3d "kkslot3; alias kklastinv kk4c" alias kkslot3 "slot3; alias kk1 kk1c; alias kk2 kk2c; alias kk3 kk3c; alias kk4 kk4c; act.s3" alias kk4a "kkslot4; alias kklastinv kk1d" alias kk4b "kkslot4; alias kklastinv kk2d" alias kk4c "kkslot4; alias kklastinv kk3d" alias kk4d "kkslot4" alias kkslot4 "slot4; alias kk1 kk1d; alias kk2 kk2d; alias kk3 kk3d; alias kk4 kk4d; act.s4"
alias opc.1 "alias act.s1 cross.0b;alias act.s2 cross.1b;alias act.s3 cross.0b;alias act.s4 cross.0b; .on; cross.0b; alias opc.t opc.0" alias opc.0 "alias act.s1;alias act.s2;alias act.s3;alias act.s4; .off; cross.1b; alias opc.t opc.1" alias opc.t "opc.1"
alias cross.0b "crosshair 0" alias cross.1b "crosshair 1" alias .on "speak on" alias .off "speak of" <!--c2--></td></tr></table><div class='postcolor'><!--ec2--> Activates Crosshair only for pistol.
That would be useless for leap, tbh. <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad-fix.gif' border='0' style='vertical-align:middle' alt='sad-fix.gif' /><!--endemo--> High energy consumption. And leap's not good for double leaps, no improvement.
I have a few extra buttons on my mouse that I've set to pageup and pagedown. This script (in my marine.cfg file) makes them switch from my "need ammo/health" commands to "I'm covering you" and the "follow me" radio call when I hold down Q.
<!--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 med "med1" alias med1 "impulse 10; say_team I need a medpack!; alias med med2" alias med2 "impulse 10; say_team I'M BLEEEEEEEDING!!; alias med med3" alias med3 "impulse 10; say_team I need a medic over here!; alias med med1" bind "pgup" "med"
alias ammo ammo1 alias ammo1 "impulse 11; say_team I need an ammopack here!; alias ammo ammo2" alias ammo2 "impulse 11; say_team Click! Click! Click! My gun's dry!; alias ammo ammo3" alias ammo3 "impulse 11; say_team I need my daily dose of ammo comm!; alias ammo ammo1" bind "pgdn" "ammo"
alias followme "impulse 7" alias covering "impulse 8"
alias +comm "bind pgup covering; bind pgdn followme" alias -comm "bind pgup med; bind pgdn ammo" bind "q" "+comm"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
My FAVORITE script would have to be this evolve script I made, although I really don't use it too much, especially in CO_ because it's really designed for NS, where I'm not dying as often as a higher lifeform and having to reevolve. But it's kinda cool as the 1,2,3,4 buttons of the keypad evolve you, and then whichever youe you evolved too, yuo hit the number 5 button to upgrade yourself, depending on how many chambers you have (in which it goes the normal route, movement, sensory, defense).
alias "gorge" "impulse 114; say_team [ Gorging ]; bind KP_5 gorgeup" bind "KP_END" "gorge" alias "gorgeup" "gorgeup1" alias "gorgeup1" "impulse 107; alias gorgeup gorgeup2" alias "gorgeup2" "impulse 112; alias gorgeup gorgeup3" alias "gorgeup3" "impulse 101; bind KP_END gorge" alias "lerk" "impulse 115; say_team [ Lerking ]; bind KP_5 lerkup" bind "KP_DOWNARROW" "lerk" alias "lerkup" "lerkup1" alias "lerkup1" "impulse 107; alias lerkup lerkup2" alias "lerkup2" "impulse 111; alias lerkup lerkup3" alias "lerkup3" "impulse 101; bind KP_DOWNARROW lerk" alias "fade" "impulse 116; say_team [ Fading ]; bind KP_5 fadeup" bind "KP_PGDN" "fade" alias "fadeup" "fadeup1" alias "fadeup1" "impulse 107; alias fadeup fadeup2" alias "fadeup2" "impulse 111; alias fadeup fadeup3" alias "fadeup3" "impulse 101; bind KP_DN fade" alias "onos" "impulse 117; say_team [ Onosing ]; bind KP_5 onosup" bind "KP_LEFTARROW" "onos" alias "onosup" "onosup1" alias "onosup1" "impulse 107; alias onosup onosup2" alias "onosup2" "impulse 111; alias onosup onosup3" alias "onosup3" "impulse 102; bind KP_LEFTARROW onos"
Other than that I always use the bhop and pscript of course the most, and both work fine.
alias +pshot "+attack;w;-attack;w;+attack;w;-attack;w;+attack" alias -pshot "-attack;w;+attack;w;-attack;w;+attack;w;-attack"
alias kk1 "kk1a" alias kk2 "kk2a" alias kk3 "kk3a" alias kk4 "kk4a" alias kklastinv "kk1a"
alias kk1a "kkslot1" alias kk1b "kkslot1; alias kklastinv kk2a" alias kk1c "kkslot1; alias kklastinv kk3a" alias kk1d "kkslot1; alias kklastinv kk4a" alias kkslot1 "slot1; alias kk1 kk1a; alias kk2 kk2a; alias kk3 kk3a; alias kk4 kk4a; bind mouse1 +attack"
alias kk2a "kkslot2; alias kklastinv kk1b" alias kk2b "kkslot2" alias kk2c "kkslot2; alias kklastinv kk3b" alias kk2d "kkslot2; alias kklastinv kk4b" alias kkslot2 "slot2; alias kk1 kk1b; alias kk2 kk2b; alias kk3 kk3b; alias kk4 kk4b; bind mouse1 +pshot"
alias kk3a "kkslot3; alias kklastinv kk1c" alias kk3b "kkslot3; alias kklastinv kk2c" alias kk3c "kkslot3" alias kk3d "kkslot3; alias kklastinv kk4c" alias kkslot3 "slot3; alias kk1 kk1c; alias kk2 kk2c; alias kk3 kk3c; alias kk4 kk4c; bind mouse1 +attack"
alias kk4a "kkslot4; alias kklastinv kk1d" alias kk4b "kkslot4; alias kklastinv kk2d" alias kk4c "kkslot4; alias kklastinv kk3d" alias kk4d "kkslot4" alias kkslot4 "slot4; alias kk1 kk1d; alias kk2 kk2d; alias kk3 kk3d; alias kk4 kk4d; bind mouse1 +attack"
It's a scripted lastinv. It's supposed to make it so the game doesn't forget what your lastinv was, even if you press 1 slot key twice(ie pistol, then lmg, then lmg again, your lastinv will still be pistol). Although for some reason my lastinv script doesn't work.
alias gundrop "cl_pitchspeed 99999; +lookdown; impulse 3; w; -lookdown; force_centerview" bind alt gundrop
alias fpsvar "fps_max 120" alias one "+moveleft;wait;-moveleft;+moveright;wait;-moveright" alias +pgspeedup "fpsvar;cl_showfps 1;one;one" alias -pgspeedup "fps_max 100;cl_showfps 0;-moveleft;-moveright"
All i did was incorporate the pistol script into the romano last inventory script. That way any time my pistol is selected the pistol script is activated whether it be me hitting 2 or lastinv.
The pistol script is modified for my computer, because it sucks. The standard pistol script didn't always fire right with my computer.
man these scripts are nice. but none realy cought my eye realy <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink-fix.gif' border='0' style='vertical-align:middle' alt='wink-fix.gif' /><!--endemo-->
\\Use with caution alias +deathbeam "+attack" alias -deathbeam "-attack" bind "mouse1" "+deathbeam"<!--c2--></td></tr></table><div class='postcolor'><!--ec2--> Saves lives.
\\Use with caution alias +deathbeam "+attack" alias -deathbeam "-attack" bind "mouse1" "+deathbeam"<!--c2--></td></tr></table><div class='postcolor'><!--ec2--> Saves lives. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd--> interesting, i never knew there was a death beam on ns. <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink-fix.gif' border='0' style='vertical-align:middle' alt='wink-fix.gif' /><!--endemo-->
alias cara "impulse 101" alias regen "impulse 102" alias celer "impulse 107" alias adren "impulse 108" alias silence "impulse 109" alias cloak "impulse 110" alias focus "impulse 111" alias scent "impulse 112" alias +up_press "+use;wait;bind kp_home cara;bind kp_uparrow regen;bind kp_leftarrow celer;bind kp_5 adren;bind kp_rightarrow silence;bind kp_end cloak;bind kp_downarrow focus;bind kp_pgdn scent;-use" alias -up_press "exec bindreset.cfg" bind z +up_press
whatever you have c bound to will bring up slot 3, v will bring up slot 2. This makes it so you can switch to slot 2 or 3 and not screw up your lastinv switch.
Example: As a marine, I have my LMG out, pistol on lastinv backup. I hit c and hold it down to start knifing a node. When I release c it brings up my LMG with pistol on lastinv again.
alias "kk1a" "kkslot1; bind c +metab; bind b +para" alias "kk1b" "kkslot1; bind q kk2a; bind c +metab; bind b +para" alias "kk1c" "kkslot1; bind q kk3a; bind c +metab; bind b +para" alias "kk1d" "kkslot1; bind q kk4a; bind c +metab; bind b +para" alias "kkslot1" "slot1; bind 1 kk1a; bind 2 kk2a; bind 3 kk3a; bind 4 kk4a"
alias "kk2a" "kkslot2; bind q kk1b; bind c +metab2; bind b +para2" alias "kk2b" "kkslot2; bind c +metab2; bind b +para2" alias "kk2c" "kkslot2; bind q kk3b; bind c +metab2; bind b +para2" alias "kk2d" "kkslot2; bind q kk4b; bind c +metab2; bind b +para2" alias "kkslot2" "slot2; bind 1 kk1b; bind 2 kk2b; bind 3 kk3b; bind 4 kk4b"
alias "kk3a" "kkslot3; bind q kk1c; bind c +metab3; bind b +para3" alias "kk3b" "kkslot3; bind q kk2c; bind c +metab3; bind b +para3" alias "kk3c" "kkslot3; bind c +metab3; bind b +para3" alias "kk3d" "kkslot3; bind q kk4c; bind c +metab3; bind b +para3" alias "kkslot3" "slot3; bind 1 kk1c; bind 2 kk2c; bind 3 kk3c; bind 4 kk4c"
alias "kk4a" "kkslot4; bind q kk1d; bind c +metab4; bind b +para4" alias "kk4b" "kkslot4; bind q kk2d; bind c +metab4; bind b +para4" alias "kk4c" "kkslot4; bind q kk3d; bind c +metab4; bind b +para4" alias "kk4d" "kkslot4; bind c +metab4; bind b +para4" alias "kkslot4" "slot4; bind 1 kk1d; bind 2 kk2d; bind 3 kk3d; bind 4 kk4d"
alias "+metab" "slot3;wait;+attack" alias "-metab" "-attack;wait;slot1"
alias "+metab2" "slot3;wait;+attack" alias "-metab2" "-attack;wait;slot2"
alias "+metab3" "slot3;wait;+attack" alias "-metab3" "-attack;wait;slot3"
alias "+metab4" "slot3;wait;+attack" alias "-metab4" "-attack;wait;slot4"
alias "+para" "slot2;wait;+attack" alias "-para" "-attack;wait;slot1"
alias "+para2" "slot2;wait;+attack" alias "-para2" "-attack;wait;slot2"
alias "+para3" "slot2;wait;+attack" alias "-para3" "-attack;wait;slot3"
alias "+para4" "slot2;wait;+attack" alias "-para4" "-attack;wait;slot4"
Comments
alias kk1 "kk1a"
alias kk2 "kk2a"
alias kk3 "kk3a"
alias kk4 "kk4a"
alias kklastinv "kk1a"
alias kk1a "kkslot1"
alias kk1b "kkslot1; alias kklastinv kk2a"
alias kk1c "kkslot1; alias kklastinv kk3a"
alias kk1d "kkslot1; alias kklastinv kk4a"
alias kkslot1 "slot1; alias kk1 kk1a; alias kk2 kk2a; alias kk3 kk3a; alias kk4 kk4a; act.s1"
alias kk2a "kkslot2; alias kklastinv kk1b"
alias kk2b "kkslot2"
alias kk2c "kkslot2; alias kklastinv kk3b"
alias kk2d "kkslot2; alias kklastinv kk4b"
alias kkslot2 "slot2; alias kk1 kk1b; alias kk2 kk2b; alias kk3 kk3b; alias kk4 kk4b; act.s2"
alias kk3a "kkslot3; alias kklastinv kk1c"
alias kk3b "kkslot3; alias kklastinv kk2c"
alias kk3c "kkslot3"
alias kk3d "kkslot3; alias kklastinv kk4c"
alias kkslot3 "slot3; alias kk1 kk1c; alias kk2 kk2c; alias kk3 kk3c; alias kk4 kk4c; act.s3"
alias kk4a "kkslot4; alias kklastinv kk1d"
alias kk4b "kkslot4; alias kklastinv kk2d"
alias kk4c "kkslot4; alias kklastinv kk3d"
alias kk4d "kkslot4"
alias kkslot4 "slot4; alias kk1 kk1d; alias kk2 kk2d; alias kk3 kk3d; alias kk4 kk4d; act.s4"
alias opc.1 "alias act.s1 cross.0b;alias act.s2 cross.1b;alias act.s3 cross.0b;alias act.s4 cross.0b; .on; cross.0b; alias opc.t opc.0"
alias opc.0 "alias act.s1;alias act.s2;alias act.s3;alias act.s4; .off; cross.1b; alias opc.t opc.1"
alias opc.t "opc.1"
alias cross.0b "crosshair 0"
alias cross.1b "crosshair 1"
alias .on "speak on"
alias .off "speak of"
<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
Activates Crosshair only for pistol.
alias +knife "slot3;wait;+attack"
alias -knife "-attack;wait;slot1"
bind alt +knife<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
Switches to knife and slashes until I let go of alt. Probably works with leap too but currently I only have the script active for marines.
<!--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-->
impulse 116
alias +blink "slot2; +attack"
alias -blink "-attack; slot1"
bind r +blink
<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
easy use so i can get in attack and get the heck out before i die
<!--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 med "med1"
alias med1 "impulse 10; say_team I need a medpack!; alias med med2"
alias med2 "impulse 10; say_team I'M BLEEEEEEEDING!!; alias med med3"
alias med3 "impulse 10; say_team I need a medic over here!; alias med med1"
bind "pgup" "med"
alias ammo ammo1
alias ammo1 "impulse 11; say_team I need an ammopack here!; alias ammo ammo2"
alias ammo2 "impulse 11; say_team Click! Click! Click! My gun's dry!; alias ammo ammo3"
alias ammo3 "impulse 11; say_team I need my daily dose of ammo comm!; alias ammo ammo1"
bind "pgdn" "ammo"
alias followme "impulse 7"
alias covering "impulse 8"
alias +comm "bind pgup covering; bind pgdn followme"
alias -comm "bind pgup med; bind pgdn ammo"
bind "q" "+comm"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
alias "gorge" "impulse 114; say_team [ Gorging ]; bind KP_5 gorgeup"
bind "KP_END" "gorge"
alias "gorgeup" "gorgeup1"
alias "gorgeup1" "impulse 107; alias gorgeup gorgeup2"
alias "gorgeup2" "impulse 112; alias gorgeup gorgeup3"
alias "gorgeup3" "impulse 101; bind KP_END gorge"
alias "lerk" "impulse 115; say_team [ Lerking ]; bind KP_5 lerkup"
bind "KP_DOWNARROW" "lerk"
alias "lerkup" "lerkup1"
alias "lerkup1" "impulse 107; alias lerkup lerkup2"
alias "lerkup2" "impulse 111; alias lerkup lerkup3"
alias "lerkup3" "impulse 101; bind KP_DOWNARROW lerk"
alias "fade" "impulse 116; say_team [ Fading ]; bind KP_5 fadeup"
bind "KP_PGDN" "fade"
alias "fadeup" "fadeup1"
alias "fadeup1" "impulse 107; alias fadeup fadeup2"
alias "fadeup2" "impulse 111; alias fadeup fadeup3"
alias "fadeup3" "impulse 101; bind KP_DN fade"
alias "onos" "impulse 117; say_team [ Onosing ]; bind KP_5 onosup"
bind "KP_LEFTARROW" "onos"
alias "onosup" "onosup1"
alias "onosup1" "impulse 107; alias onosup onosup2"
alias "onosup2" "impulse 111; alias onosup onosup3"
alias "onosup3" "impulse 102; bind KP_LEFTARROW onos"
Other than that I always use the bhop and pscript of course the most, and both work fine.
alias -pshot "-attack;w;+attack;w;-attack;w;+attack;w;-attack"
alias kk1 "kk1a"
alias kk2 "kk2a"
alias kk3 "kk3a"
alias kk4 "kk4a"
alias kklastinv "kk1a"
alias kk1a "kkslot1"
alias kk1b "kkslot1; alias kklastinv kk2a"
alias kk1c "kkslot1; alias kklastinv kk3a"
alias kk1d "kkslot1; alias kklastinv kk4a"
alias kkslot1 "slot1; alias kk1 kk1a; alias kk2 kk2a; alias kk3 kk3a; alias kk4 kk4a; bind mouse1 +attack"
alias kk2a "kkslot2; alias kklastinv kk1b"
alias kk2b "kkslot2"
alias kk2c "kkslot2; alias kklastinv kk3b"
alias kk2d "kkslot2; alias kklastinv kk4b"
alias kkslot2 "slot2; alias kk1 kk1b; alias kk2 kk2b; alias kk3 kk3b; alias kk4 kk4b; bind mouse1 +pshot"
alias kk3a "kkslot3; alias kklastinv kk1c"
alias kk3b "kkslot3; alias kklastinv kk2c"
alias kk3c "kkslot3"
alias kk3d "kkslot3; alias kklastinv kk4c"
alias kkslot3 "slot3; alias kk1 kk1c; alias kk2 kk2c; alias kk3 kk3c; alias kk4 kk4c; bind mouse1 +attack"
alias kk4a "kkslot4; alias kklastinv kk1d"
alias kk4b "kkslot4; alias kklastinv kk2d"
alias kk4c "kkslot4; alias kklastinv kk3d"
alias kk4d "kkslot4"
alias kkslot4 "slot4; alias kk1 kk1d; alias kk2 kk2d; alias kk3 kk3d; alias kk4 kk4d; bind mouse1 +attack"
bind 1 "kk1"
bind 2 "kk2"
bind 3 "kk3"
bind 4 "kk4"
bind f "kklastinv"
modified pistol and modified romano's script!!!!
woot ftw, tbh gg kkthxbai
bind alt gundrop
alias fpsvar "fps_max 120"
alias one "+moveleft;wait;-moveleft;+moveright;wait;-moveright"
alias +pgspeedup "fpsvar;cl_showfps 1;one;one"
alias -pgspeedup "fps_max 100;cl_showfps 0;-moveleft;-moveright"
The pistol script is modified for my computer, because it sucks. The standard pistol script didn't always fire right with my computer.
alias "-lol" "-showmap; volume .3; stopsound; voice_enable 1"
bind "x" "+lol"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
bind / authscript<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
turns icon off <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin-fix.gif' border='0' style='vertical-align:middle' alt='biggrin-fix.gif' /><!--endemo-->
\\Use with caution
alias +deathbeam "+attack"
alias -deathbeam "-attack"
bind "mouse1" "+deathbeam"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
Saves lives.
alias 1jumpcfg "bind ctrl +jump; developer 1; motd_write 1 Jump; MOTD; developer 0; alias jumpcfg 5jumpcfg"
alias 5jumpcfg "bind ctrl 3jump; developer 1; motd_write 5 Jump; MOTD; developer 0; alias jumpcfg 1jumpcfg"
bind kp_pgup jumpcfg<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
Toggles jump key (ctrl) between 3jump and +jump, for mp_bs 1/0 or lerk-jp/others.
\\Use with caution
alias +deathbeam "+attack"
alias -deathbeam "-attack"
bind "mouse1" "+deathbeam"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
Saves lives. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
interesting, i never knew there was a death beam on ns. <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink-fix.gif' border='0' style='vertical-align:middle' alt='wink-fix.gif' /><!--endemo-->
alias regen "impulse 102"
alias celer "impulse 107"
alias adren "impulse 108"
alias silence "impulse 109"
alias cloak "impulse 110"
alias focus "impulse 111"
alias scent "impulse 112"
alias +up_press "+use;wait;bind kp_home cara;bind kp_uparrow regen;bind kp_leftarrow celer;bind kp_5 adren;bind kp_rightarrow silence;bind kp_end cloak;bind kp_downarrow focus;bind kp_pgdn scent;-use"
alias -up_press "exec bindreset.cfg"
bind z +up_press
<!--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-->bindreset.cfg
bind kp_home slot1
bind kp_uparrow slot2
bind kp_pgup slot3
bind kp_plus slot4
bind kp_minus slot5
bind kp_leftarrow +moveleft
bind kp_5 +3djump
bind kp_rightarrow +moveright
bind kp_end +reload
bind kp_downarrow +move2
bind kp_pgdn +showmap
<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
really complicated but you hold in z [rebound mx510 button for me] and the kp_ keys let you upgrade, let go of z to reset your binds.
alias +pistol3 "fps_max 58; wait; atk; 5wait; atk; 5wait; atk; wait; fps_max 100"
alias -pistol3 ""
// snip
alias atk "+attack; wait; -attack"
alias 5wait "wait; wait; wait; wait; wait"
<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
3 shot burst fire pistol
whatever you have c bound to will bring up slot 3, v will bring up slot 2. This makes it so you can switch to slot 2 or 3 and not screw up your lastinv switch.
Example:
As a marine, I have my LMG out, pistol on lastinv backup. I hit c and hold it down to start knifing a node. When I release c it brings up my LMG with pistol on lastinv again.
bind 1 "kk1a"
bind 2 "kk2a"
bind 3 "kk3a"
bind 4 "kk4a"
alias "kk1a" "kkslot1; bind c +metab; bind b +para"
alias "kk1b" "kkslot1; bind q kk2a; bind c +metab; bind b +para"
alias "kk1c" "kkslot1; bind q kk3a; bind c +metab; bind b +para"
alias "kk1d" "kkslot1; bind q kk4a; bind c +metab; bind b +para"
alias "kkslot1" "slot1; bind 1 kk1a; bind 2 kk2a; bind 3 kk3a; bind 4 kk4a"
alias "kk2a" "kkslot2; bind q kk1b; bind c +metab2; bind b +para2"
alias "kk2b" "kkslot2; bind c +metab2; bind b +para2"
alias "kk2c" "kkslot2; bind q kk3b; bind c +metab2; bind b +para2"
alias "kk2d" "kkslot2; bind q kk4b; bind c +metab2; bind b +para2"
alias "kkslot2" "slot2; bind 1 kk1b; bind 2 kk2b; bind 3 kk3b; bind 4 kk4b"
alias "kk3a" "kkslot3; bind q kk1c; bind c +metab3; bind b +para3"
alias "kk3b" "kkslot3; bind q kk2c; bind c +metab3; bind b +para3"
alias "kk3c" "kkslot3; bind c +metab3; bind b +para3"
alias "kk3d" "kkslot3; bind q kk4c; bind c +metab3; bind b +para3"
alias "kkslot3" "slot3; bind 1 kk1c; bind 2 kk2c; bind 3 kk3c; bind 4 kk4c"
alias "kk4a" "kkslot4; bind q kk1d; bind c +metab4; bind b +para4"
alias "kk4b" "kkslot4; bind q kk2d; bind c +metab4; bind b +para4"
alias "kk4c" "kkslot4; bind q kk3d; bind c +metab4; bind b +para4"
alias "kk4d" "kkslot4; bind c +metab4; bind b +para4"
alias "kkslot4" "slot4; bind 1 kk1d; bind 2 kk2d; bind 3 kk3d; bind 4 kk4d"
alias "+metab" "slot3;wait;+attack"
alias "-metab" "-attack;wait;slot1"
alias "+metab2" "slot3;wait;+attack"
alias "-metab2" "-attack;wait;slot2"
alias "+metab3" "slot3;wait;+attack"
alias "-metab3" "-attack;wait;slot3"
alias "+metab4" "slot3;wait;+attack"
alias "-metab4" "-attack;wait;slot4"
alias "+para" "slot2;wait;+attack"
alias "-para" "-attack;wait;slot1"
alias "+para2" "slot2;wait;+attack"
alias "-para2" "-attack;wait;slot2"
alias "+para3" "slot2;wait;+attack"
alias "-para3" "-attack;wait;slot3"
alias "+para4" "slot2;wait;+attack"
alias "-para4" "-attack;wait;slot4"