-alias +preattack "set preattack_last 1; firing_swap2 $firing_lastweapon; +checkattack"
-alias -preattack "set preattack_last 0; firing_swap2 $firing_lastweapon; -checkattack"
-alias +preattack2 "set preattack2_last 1; firing_swap2 $firing_lastweapon; +checkattack2"
-alias -preattack2 "set preattack2_last 0; firing_swap2 $firing_lastweapon; -checkattack2"
-alias firing_switch_atck_0 ""
-alias firing_switch_atck2_0 ""
-alias firing_switch_atck_1 "+preattack"
-alias firing_switch_atck2_1 "+preattack2"
-alias firing_switch "-preattack; -preattack2; firing_switch_atck_$preattack_last; firing_switch_atck2_$preattack2_last;"
-// now apply the changes to the key binds
+alias +preattack "firing_swap2 $firing_lastweapon; set preattack_last 1; +checkattack"
+alias -preattack "firing_swap2 $firing_lastweapon; set preattack_last 0; -checkattack"
+alias +preattack2 "firing_swap2 $firing_lastweapon; set preattack2_last 1; +checkattack2"
+alias -preattack2 "firing_swap2 $firing_lastweapon; set preattack2_last 0; -checkattack2"
+alias firing_switch_attack_0 ""
+alias firing_switch_attack2_0 ""
+alias firing_switch_attack_1 "+preattack"
+alias firing_switch_attack2_1 "+preattack2"
+alias firing_switch "-preattack; -preattack2; firing_switch_attack_$preattack_last; firing_switch_attack2_$preattack2_last;"
+// now apply changes to the key binds and get the weapon we are using