// =============================================
//   CROSSHAIR RAINBOW
//   Положи файл в CS2/game/csgo/cfg/
//   Запусти через консоль: exec crosshair_rainbow
// =============================================

alias clr1 "cl_crosshaircolor 5; cl_crosshaircolor_r 255; cl_crosshaircolor_g 0;   cl_crosshaircolor_b 0;   alias clr_next clr2"
alias clr2 "cl_crosshaircolor 5; cl_crosshaircolor_r 255; cl_crosshaircolor_g 128; cl_crosshaircolor_b 0;   alias clr_next clr3"
alias clr3 "cl_crosshaircolor 5; cl_crosshaircolor_r 255; cl_crosshaircolor_g 255; cl_crosshaircolor_b 0;   alias clr_next clr4"
alias clr4 "cl_crosshaircolor 5; cl_crosshaircolor_r 0;   cl_crosshaircolor_g 255; cl_crosshaircolor_b 0;   alias clr_next clr5"
alias clr5 "cl_crosshaircolor 5; cl_crosshaircolor_r 0;   cl_crosshaircolor_g 255; cl_crosshaircolor_b 255; alias clr_next clr6"
alias clr6 "cl_crosshaircolor 5; cl_crosshaircolor_r 0;   cl_crosshaircolor_g 128; cl_crosshaircolor_b 255; alias clr_next clr7"
alias clr7 "cl_crosshaircolor 5; cl_crosshaircolor_r 255; cl_crosshaircolor_g 0;   cl_crosshaircolor_b 255; alias clr_next clr1"

alias clr_next clr1

alias +rainbow_attack "+attack; clr_next"
alias -rainbow_attack "-attack"

bind mouse1 +rainbow_attack

echo "CROSSHAIR RAINBOW LOADED"
