This script allows to stop a burst of Assault rifle and switching to pistol.
The variable "sleep" can sometime be modify depending your computer .
The variable "sleep" can sometime be modify depending your computer .
[SELECT ALL] Code:
bind "MOUSE1" [attack;pistol;switchrifle;if (= (magcontent 6) 20)[sleep 485 [attack]][]]
alias "switchrifle" [if (= (curweapon) 6) [
if (= (magcontent 6) 15)[secondary][];
if (= (magcontent 6) 0)[secondary][]
] []
]
alias "pistol" [if (= (curweapon) 1) [
if (= (magcontent 1) 6)[primary][];
if (= (magcontent 1) 4)[primary][];
if (= (magcontent 1) 2)[primary][];
if (= (magcontent 1) 0)[primary][]
] []
]