Script

// TF2 COMPETETIVE CHAT BINDS V1.1 // // This script will let you quickly use the keypad to inform your team // the current status of an opponent player! // Be aware that this script unbinds every number on your numpad, // so you should check if you need to keep some binds // // Usage: // 1. Num lock must be on! // // 2. Press the number key that represents the class slot. // Example: Keypad 1 goes for Scout and keypad 7 goes for medic. // // 3. Press 1, 2 or 3 after that to give information about the class. // Keypad 1) "X down!" // Keypad 2) "X is low!" // Keypad 3) "X is healthy!" // Keypad 7) "They've got a(n) X" // // 4. Special keys for Medic and Engineer. // Medic: // Keypad 4) "Opponent has uber!" // Keypad 5) "Opponent has kritz!" // Keypad 6) "They have ubered!" // // Engineer: // Keypad 4) "Sentry down!" // Keypad 5) "Sentry is low!" // // 5. Reset script with keypad 0 // // Examples: // 1 > 2 = "Scout is low!" // 2 > 3 = "Soldier is healthy!" // 7 > 1 = "Medic down!" // 8 > 7 = "They've got a Sniper!" // // Ideas: // -None, suggest some! alias unbindkp "unbind kp_end; unbind kp_downarrow; unbind kp_pgdn; unbind kp_leftarrow; unbind kp_5; unbind kp_rightarrow; unbind kp_home; unbind kp_uparrow; unbind kp_pgup" alias bindclasses "bind kp_end classscout ; bind kp_downarrow classsoldier ; bind kp_pgdn classpyro ; bind kp_leftarrow classdemo ; bind kp_5 classheavy ; bind kp_rightarrow classengineer ; bind kp_home classmedic ; bind kp_uparrow classsniper ; bind kp_pgup classspy" alias rebindall "unbindkp; bindclasses" alias classscout "unbindkp; bind kp_end scoutdown; bind kp_downarrow scoutlow; bind kp_pgdn scouthealthy; bind kp_home scoutexists" alias classsoldier "unbindkp; bind kp_end soldierdown; bind kp_downarrow soldierlow; bind kp_pgdn soldierhealthy; bind kp_home soldierexists" alias classpyro "unbindkp; bind kp_end pyrodown; bind kp_downarrow pyrolow; bind kp_pgdn pyrohealthy; bind kp_home pyroexists" alias classdemo "unbindkp; bind kp_end demodown; bind kp_downarrow demolow; bind kp_pgdn demohealthy; bind kp_home demoexists" alias classheavy "unbindkp; bind kp_end heavydown; bind kp_downarrow heavylow bind kp_pgdn heavyhealthy; bind kp_home heavyexists" alias classengineer "unbindkp; bind kp_end engineerdown; bind kp_downarrow engineerlow; bind kp_pgdn engineerhealthy; bind kp_home engineerexists; bind kp_leftarrow sentrydown; bind kp_5 sentrylow" alias classmedic "unbindkp; bind kp_end medicdown; bind kp_downarrow mediclow; bind kp_pgdn medichealthy; bind kp_home medicexists; bind kp_leftarrow medigun; bind kp_5 medigun2; bind kp_rightarrow medicuber" alias classsniper "unbindkp; bind kp_end sniperdown; bind kp_downarrow sniperlow; bind kp_pgdn sniperhealthy; bind kp_home sniperexists" alias classspy "unbindkp; bind kp_end spydown; bind kp_downarrow spylow; bind kp_pgdn spyhealthy; bind kp_home spyexists" alias scoutdown "say_team Scout down!; unbindkp; bindclasses" alias soldierdown "say_team Soldier down!; unbindkp; bindclasses" alias pyrodown "say_team Pyro down!; unbindkp; bindclasses" alias demodown "say_team Demo down!; unbindkp; bindclasses" alias heavydown "say_team Heavy down!; unbindkp; bindclasses" alias engineerdown "say_team Engineer down!; unbindkp; bindclasses" alias medicdown "say_team Medic down!; unbindkp; bindclasses" alias sniperdown "say_team Sniper down!; unbindkp; bindclasses" alias spydown "say_team Spy down!; unbindkp; bindclasses" alias scoutlow "say_team Scout is low!; unbindkp; bindclasses" alias soldierlow "say_team Soldier is low!; unbindkp; bindclasses" alias pyrolow "say_team Pyro is low!; unbindkp; bindclasses" alias demolow "say_team Demo is low!; unbindkp; bindclasses" alias heavylow "say_team Heavy is low!; unbindkp; bindclasses" alias engineerlow "say_team Engineer is low!; unbindkp; bindclasses" alias mediclow "say_team Medic is low!; unbindkp; bindclasses" alias sniperlow "say_team Sniper is low!; unbindkp; bindclasses" alias spylow "say_team Spy is low!; unbindkp; bindclasses" alias scouthealthy "say_team Scout is healthy!; unbindkp; bindclasses" alias soldierhealthy "say_team Soldier is healthy!; unbindkp; bindclasses" alias pyrohealthy "say_team Pyro is healthy!; unbindkp; bindclasses" alias demohealthy "say_team Demo is healthy!; unbindkp; bindclasses" alias heavyhealthy "say_team Heavy is healthy!; unbindkp; bindclasses" alias engineerhealthy "say_team Engineer is healthy!; unbindkp; bindclasses" alias medichealthy "say_team Medic is healthy!; unbindkp; bindclasses" alias sniperhealthy "say_team Sniper is healthy!; unbindkp; bindclasses" alias spyhealthy "say_team Spy is healthy!; unbindkp; bindclasses" alias scoutexists "say_team They've got a Scout!; unbindkp; bindclasses" alias soldierexists "say_team They've got a Soldier!; unbindkp; bindclasses" alias pyroexists "say_team They've got a Pyro!; unbindkp; bindclasses" alias demoexists "say_team They've got a Demo!; unbindkp; bindclasses" alias heavyexists "say_team They've got a Heavy!; unbindkp; bindclasses" alias engineerexists "say_team They've got an Engineer!; unbindkp; bindclasses" alias medicexists "say_team They've got a Medic; unbindkp; bindclasses" alias sniperexists "say_team They've got a Sniper!; unbindkp; bindclasses" alias spyexists "say_team They've got a Spy; unbindkp; bindclasses" alias sentrydown "say_team Sentry down!; unbindkp; bindclasses" alias sentrylow "say_team Sentry is low!; unbindkp; bindclasses" alias medigun "say_team Opponent has uber!; unbindkp; bindclasses" alias medigun2 "say_team Opponent has kritz!; unbindkp; bindclasses" alias medicuber "say_team They have ubered!; unbindkp; bindclasses" // bind kp_ins "rebindall" unbindkp bindclasses echo "" echo "______________________________________" echo "TF2 Competetive chat binds v1.1 loaded" echo "¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯" echo "" // Changelog: // v1.0 // + Script released // // v1.1 // + Added a bind to warn your team about the // presence of a specific class on the enemy team. // - Removed special Sniper bind, "Watch out, Sniper!". // = Renamed script to Tf2 Competitive chat binds