alias pistol "weapon_glock18;weapon_usp;weapon_deagle;weapon_p228;weapon_elite;weapon_fiveseven alias switch1 "weapon_knife; bind mouse1 +attack; bind 2 switch0" alias switch0 "pistol; bind mouse1 temp; bind 3 switch1" alias s0 "+attack; wait; -attack; bind mouse1 s1; alias temp s1" alias s1 "+attack; wait; -attack; bind mouse1 s2; alias temp s2" alias s2 "+attack; wait; -attack; bind mouse1 s3; alias temp s3" alias s3 "+attack; wait; -attack; bind mouse1 s4; alias temp s4" alias s4 "+attack; wait; -attack; bind mouse1 s5; alias temp s5" alias s5 "+attack; wait; -attack; bind mouse1 s6; alias temp s6" alias s6 "+attack; wait; -attack; bind mouse1 s0; alias temp s0; switch1" alias recount "bind mouse1 s0; alias temp s0" alias reload_stop "-reload; echo *STOPPED RELOADING; alias reload_tog reload_script1" alias reload_script1 "+reload; alias reload_tog reload_script2; echo *RELOADING*" alias reload_script2 "-reload; recount; alias reload_tog reload_script1; echo *STOPPED RELOADING*" alias reload_tog "reload_script1" bind "e" reload_stop bind "q" reload_tog bind "mouse1" s0 bind "3" switch1 //bind "?" recount //From hereon, '*' is equal to the numbers 0-6, as deduced from the above script. //Words in [] are phrases to be read as one. Don't want you to get confused. //There is a bit of mathematics in here. Don't panic. // //--------------------------------------------- //Here is how it works //--------------------------------------------- // //When [shooting d*], [alias temp d(*+1)], [bind mouse1 d(*+1)] //If [switch weapon to knife], [retain temp as [d(*+1) which is defined earlier]] //When [switch back to pistol], [bind mouse1 temp, [which is defined as d(*+1) earlier]] //when [reload], [bind mouse1 d0] echo bullet tracker config loaded