Guest User

QsRSv1Faster

a guest
Sep 1st, 2015
124
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Q's color changing script v1
  2.  
  3. // changes red color
  4. alias "+plusRed" "alias "r+" "addRed"; addRed"
  5. alias "addRed" "incrementvar tf2c_setmerccolor_r 0 255 6;wait 3; r+"
  6. alias "-plusRed" "alias "r+"" // stops adding
  7.  
  8. alias "+minusRed" "alias "r-" "subRed"; subRed"
  9. alias "subRed" "incrementvar tf2c_setmerccolor_r 0 255 -6;wait 3; r-"
  10. alias "-minusRed" "alias "r-"" // stops subtracting
  11.  
  12. alias red "+plusRed; wait 126; -plusRed; +minusRed; wait 126; -minusRed; red"
  13.  
  14. // changes green color
  15. alias "+plusGreen" "alias "g+" "addGreen"; addGreen"
  16. alias "addGreen" "incrementvar tf2c_setmerccolor_g 0 255 4;wait 3; g+"
  17. alias "-plusGreen" "alias "g+""
  18.  
  19. alias "+minusGreen" "alias "g-" "subGreen"; subGreen"
  20. alias "subGreen" "incrementvar tf2c_setmerccolor_g 0 255 -4;wait 3; g-"
  21. alias "-minusGreen" "alias "g-""
  22.  
  23. alias green "+plusGreen; wait 189; -plusGreen; +minusGreen; wait 189; -minusGreen; green"
  24.  
  25. // changes blue color
  26. alias "+plusBlue" "alias "b+" "addBlue"; addBlue"
  27. alias "addBlue" "incrementvar tf2c_setmerccolor_b 0 255 3;wait 3; b+"
  28. alias "-plusBlue" "alias "b+""
  29.  
  30. alias "+minusBlue" "alias "b-" "subBlue"; subBlue"
  31. alias "subBlue" "incrementvar tf2c_setmerccolor_b 0 255 -3;wait 3; b-"
  32. alias "-minusBlue" "alias "b-""
  33.  
  34. alias blue "+plusBlue; wait 252; -plusBlue; +minusBlue; wait 252; -minusBlue; blue"
  35.  
  36. alias resetColor "tf2c_setmerccolor_r 3; tf2c_setmerccolor_g 3; tf2c_setmerccolor_b 3"
  37. bind p "resetColor; red; green; blue; unbind p" // unbind is optional, but recommended
  38. // once started, it cannot be disabled, except by exiting
RAW Paste Data