Advertisement
Guest User

Untitled

a guest
Sep 5th, 2013
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.61 KB | None | 0 0
  1. //*Super Script V0.01 by LegendaryB3ast*//
  2.  
  3. //To load the script in game, open up console with ` and type "exec superscript" in the console entry.
  4.  
  5. //*Note: To use keycodes (in parentheses), simply press Ctrl + F and enter the keyword. Press 'Find Next' until you find the area.*
  6. //[Table of Contents: ]
  7. //I. Key Binding (Keyword: KEYBIND)
  8. //I-1. Standard Keys
  9. //I-2. Shift Keys
  10. //I-3. Alt Keys
  11. //I-4. Special Binds
  12. //II. Auto-Tasking (Keyword: DOTASK)
  13. //II-1. Loops
  14. //II-2. Automatic Loops for Idling
  15. //III. Functions (Keyword: COOLSTUFF)
  16.  
  17.  
  18.  
  19.  
  20. //*NOTE: TO SKIP TO THE CODING, PRESS CTRL + F and type START and press ENTER*
  21.  
  22. echo "*Super Script successfully installed!*"
  23. echo "===================================="
  24. echo "Main Interface: "
  25. echo "-These commands are typed in the console bar right below you."
  26. echo "1. 'Standard' - How to use the regular binds."
  27. echo "2. 'Shift' - How to use the Shift + Key binds."
  28. echo "3. 'Alt' - Lets you check your Alt + Key binds."
  29. echo "4. 'Tutorial' - In-game tutorial via the console."
  30.  
  31. alias Tutorial "echo *Welcome to the In-game tutorial! Page 1*; wait 500; tut12"
  32. alias tut12 "echo -To use this script, it is broken down into 3 parts. The first part is the binds, which allow you to do tasks with the press of a button.; wait 1000; tut13"
  33. alias tut13 "echo -The next part is tasks, which allow commands or actions to be repeated over and over again.; wait 1000; tut14"
  34. alias tut14 "echo -The third and final part is the functions, which is the core of the script. Every function can be bound to a key or keys, and performs something interesting (usually) when activated.; wait 1000; tut15"
  35. alias tut15 "echo -Funtions and tasks do not activate once the script is executed using 'exec superscript' or pressing F1 after it has opened, but binds do.; wait 1000; tut16"
  36. alias tut16 "echo -For more information about this script, please review the config file. It includes more detail about each funtion and task, and more detailed tutorials.; wait 1000; tut00"
  37. alias tut00 "echo Thank you for downloading SuperScript: by LegendaryB3ast.; wait 1000; clear; wait 500; info"
  38.  
  39. alias info "echo You can start using this script whenever you are ready. If you made it this far, all of your binds are preloaded, which means if you wanted to start something like the disco/rainbow script, feel free to press your bind now.; info2"
  40. alias info "I hope you really enjoy this script, took me a long time to make it. Feel free to leave suggestions @LegendaryB3ast on Steam. Thanks again!
  41.  
  42.  
  43. //Feel free to send suggestions to LegendaryB3ast on Steam.
  44.  
  45. //To use this script, in front of each bind there is two forward slahses (//) and a letter/number.
  46. //To activate a modified bind, remove the slashes and the letter, and add a command to the bind.
  47. //For example, lets say we wanted to bind the 'K' key to kill yourself.
  48. //The brackets ([]) and braces ({}) are for 'Shift' and 'Alt' binds, respectively.
  49. //First, remove the slashes and the K. Next, where there are 2 quotation marks (""),
  50. //in the space between you would put your desired command.
  51. //So, in the end your line should look like this:
  52. //alias standardK "kill"
  53. //alias +shift "alias standardK []"
  54. //alias -shift "alias standardK kill"
  55. //alias +alt "alias standardK {}"
  56. //alias -alt "alias standardK kill"
  57. //And that is how you use this script! Use these links for helpful tutorials and commands:
  58.  
  59. //http://wiki.teamfortress.com/wiki/Scripting
  60. //http://forums.steampowered.com/forums/showthread.php?t=709568
  61.  
  62. //Developer Notes: I only included letters and numbers for the sake
  63. //of retaining the binds to attack and jump and such. There is much
  64. //potential for this huge script, thanks for installing!
  65.  
  66.  
  67.  
  68. //START-KEYBIND
  69.  
  70. //Standard binds start here. Inside the quotations is where you place your command.
  71. //On the second line, you put your bind for that key while holding 'Shift'.
  72. //The third bind is the same, but using 'Alt'. After each bind shows default key action.
  73. //Make sure you put your command for standard binds also in the 2 apostrophes (''), otherwise
  74. //the 'Shift' and 'Alt' binds will not work.
  75.  
  76. //Binding Aliases- Skip This.
  77.  
  78. bind A "+A"
  79. bind B "+B"
  80. bind C "+C"
  81. bind D "+D"
  82. bind E "+E"
  83. bind F "+F"
  84. bind G "+G"
  85. bind H "+H"
  86. bind I "+I"
  87. bind J "+J"
  88. bind K "+K"
  89. bind L "+L"
  90. bind M "+M"
  91. bind N "+N"
  92. bind O "+O"
  93. bind P "+P"
  94. bind Q "+Q"
  95. bind R "+R"
  96. bind S "+S"
  97. bind T "+T"
  98. bind U "+U"
  99. bind V "+V"
  100. bind W "+W"
  101. bind X "+X"
  102. bind Y "+Y"
  103. bind Z "+Z
  104. bind 0 "+0"
  105. bind 1 "+1"
  106. bind 2 "+2"
  107. bind 3 "+3"
  108. bind 4 "+4"
  109. bind 5 "+5"
  110. bind 6 "+6"
  111. bind 7 "+7"
  112. bind 8 "+8"
  113. bind 9 "+9"
  114. bind F1 "+F1"
  115. bind F2 "+F2"
  116. bind F3 "+F3"
  117. bind F4 "+F4"
  118. bind F5 "+F5"
  119. bind F6 "+F6"
  120. bind F7 "+F7"
  121. bind F8 "+F8"
  122. bind F9 "+F9"
  123. bind F10 "+F10"
  124. bind F11 "+F11"
  125. bind F12 "+F12"
  126. bind , "Spec"
  127. bind . "Blue"
  128. bind / "Red"
  129.  
  130. bind Shift "+Shift"
  131. bind Alt "+Alt"
  132.  
  133. //Programming begins Here.
  134.  
  135. alias +A "+moveleft"
  136. alias -A "-moveleft"
  137. alias +Shift "alias +A b1; -moveleft"
  138. alias -Shift "alias +A +moveleft; alias -A -moveleft"
  139. //alias +Alt "alias +A {}"
  140. //alias -Alt "alias +A ''"
  141.  
  142. alias +B "lastdisguise"
  143. //alias +Shift "alias +B []"
  144. //alias -Shift "alias +B ''"
  145. //alias +Alt "alias +B {}"
  146. //alias -Alt "alias +B ''"
  147.  
  148. alias +C "voice_menu_3"
  149. alias +Shift "alias +C d3"
  150. alias -Shift "alias +C voice_menu_3"
  151. //alias +Alt "alias +C {}"
  152. //alias -Alt "alias +C ''"
  153.  
  154. alias +D "+moveright"
  155. alias -D "-moveright"
  156. alias +Shift "alias +D b3; -moveright"
  157. alias -Shift "alias +D +moveright; alias -D -moveright"
  158. //alias +Alt "alias +D {}"
  159. //alias -Alt "alias +D ''"
  160.  
  161. alias +E "voicemenu 0 0"
  162. //alias +Shift "alias +E []"
  163. //alias -Shift "alias +E ''"
  164. //alias +Alt "alias +E {}"
  165. //alias -Alt "alias +E ''"
  166.  
  167. alias +F "say /t"
  168. alias +Shift "alias +F b4"
  169. alias -Shift "alias +F say /t"
  170. alias +Alt "alias +F say /reset"
  171. alias -Alt "alias +F say /t"
  172.  
  173. alias +G "say /regen on; say /superman"
  174. alias +Shift "alias +G say /regen off; say /superman"
  175. alias -Shift "alias +G say /regen on; say /superman"
  176. //alias +Alt "alias +G {}"
  177. //alias -Alt "alias +G ''"
  178.  
  179. alias +H "+use_action_slot_item"
  180. //alias +Shift "alias +H []"
  181. //alias -Shift "alias +H ''"
  182. //alias +Alt "alias +H {}"
  183. //alias -Alt "alias +H ''"
  184.  
  185. alias +I "showmapinfo"
  186. //alias +Shift "alias +I []"
  187. //alias -Shift "alias +I ''"
  188. //alias +Alt "alias +I {}"
  189. //alias -Alt "alias +I ''"
  190.  
  191. alias +J "scoutjump"
  192. alias +Shift "alias +J spyjump"
  193. alias -Shift "alias +J scoutjump"
  194. alias +Alt "alias +J nojump"
  195. alias -Alt "alias +J scoutjump"
  196.  
  197. alias +K "kill"
  198. //alias +Shift "alias +K []"
  199. //alias -Shift "alias +K ''"
  200. //alias +Alt "alias +K {}"
  201. //alias -Alt "alias +K ''"
  202.  
  203. alias +L "dropitem"
  204. //alias +Shift "alias +L []"
  205. //alias -Shift "alias +L ''"
  206. //alias +Alt "alias +L {}"
  207. //alias -Alt "alias +L ''"
  208.  
  209. alias +M "open_charinfo_direct"
  210. //alias +Shift "alias +M []"
  211. //alias -Shift "alias +M ''"
  212. //alias +Alt "alias +M {}"
  213. //alias -Alt "alias +M ''"
  214.  
  215. alias +N "open_charinfo_backpack"
  216. //alias +Shift "alias +N []"
  217. //alias -Shift "alias +N ''"
  218. //alias +Alt "alias +N {}"
  219. //alias -Alt "alias +N ''"
  220.  
  221. //alias +O ""
  222. //alias +Shift "alias +O []"
  223. //alias -Shift "alias +O ''"
  224. //alias +Alt "alias +O {}"
  225. //alias -Alt "alias +O ''"
  226.  
  227. //alias +P ""
  228. //alias +Shift "alias +P []"
  229. //alias -Shift "alias +P ''"
  230. //alias +Alt "alias +P {}"
  231. //alias -Alt "alias +P ''"
  232.  
  233. alias +Q "taunt"
  234. //alias +Shift "alias +Q []"
  235. //alias -Shift "alias +Q ''"
  236. //alias +Alt "alias +Q {}"
  237. //alias -Alt "alias +Q ''"
  238.  
  239. alias +R "+reload"
  240. //alias +Shift "alias +R []"
  241. //alias -Shift "alias +R ''"
  242. //alias +Alt "alias +R {}"
  243. //alias -Alt "alias +R ''"
  244.  
  245. alias +S "+back"
  246. alias -S "-back"
  247. alias +Shift "alias +S b2; -back"
  248. alias -Shift "alias +S +back; alias -S -back"
  249. //alias +Alt "alias +S {}"
  250. //alias -Alt "alias +S ''"
  251.  
  252. alias +T "say"
  253. //alias +Shift "alias +T []"
  254. //alias -Shift "alias +T ''"
  255. //alias +Alt "alias +T {}"
  256. //alias -Alt "alias +T ''"
  257.  
  258. alias +U "say_team"
  259. //alias +Shift "alias +U []"
  260. //alias -Shift "alias +U ''"
  261. //alias +Alt "alias +U {}"
  262. //alias -Alt "alias +U ''"
  263.  
  264. alias +V "inspect"
  265. alias +Shift "alias +V d4"
  266. alias -Shift "alias +V inspect"
  267. alias +Alt "alias +V +voicerecord"
  268. alias -Alt "alias +V inspect"
  269.  
  270. alias +W "+forward"
  271. //alias +Shift "alias +W []"
  272. //alias -Shift "alias +W ''"
  273. //alias +Alt "alias +W {}"
  274. //alias -Alt "alias +W ''"
  275.  
  276. alias +X "voice_menu_2"
  277. alias +Shift "alias +X d2"
  278. alias -Shift "alias +X voice_menu_2"
  279. //alias +Alt "alias +X {}"
  280. //alias -Alt "alias +X ''"
  281.  
  282. alias +Y "impulse 201"
  283. //alias +Shift "alias +Y []"
  284. //alias -Shift "alias +Y ''"
  285. //alias +Alt "alias +Y {}"
  286. //alias -Alt "alias +Y ''"
  287.  
  288. alias +Z "voice_menu_1"
  289. alias +Shift "alias +Z d1"
  290. alias -Shift "alias +Z voice_menu_1"
  291. //alias +Alt "alias +Z {}"
  292. //alias -Alt "alias +Z ''"
  293.  
  294. alias +0 "slot0"
  295. alias +Shift "alias +0 disco"
  296. alias -Shift "alias +0 slot0"
  297. //alias +Alt "alias +0 {}"
  298. //alias -Alt "alias +0 ''"
  299.  
  300. alias +1 "slot1"
  301. //alias +Shift "alias +1 []"
  302. //alias -Shift "alias +1 ''"
  303. //alias +Alt "alias +1 {}"
  304. //alias -Alt "alias +1 ''"
  305.  
  306. alias +2 "slot2"
  307. //alias +Shift "alias +2 []"
  308. //alias -Shift "alias +2 ''"
  309. //alias +Alt "alias +2 {}"
  310. //alias -Alt "alias +2 ''"
  311.  
  312. alias +3 "slot3"
  313. //alias +Shift "alias +3 []"
  314. //alias -Shift "alias +3 ''"
  315. //alias +Alt "alias +3 {}"
  316. //alias -Alt "alias +3 ''"
  317.  
  318. alias +4 "slot4"
  319. //alias +Shift "alias +4 []"
  320. //alias -Shift "alias +4 ''"
  321. //alias +Alt "alias +4 {}"
  322. //alias -Alt "alias +4 ''"
  323.  
  324. alias +5 "slot5"
  325. //alias +Shift "alias +5 []"
  326. //alias -Shift "alias +5 ''"
  327. //alias +Alt "alias +5 {}"
  328. //alias -Alt "alias +5 ''"
  329.  
  330. alias +6 "slot6"
  331. //alias +Shift "alias +6 []"
  332. //alias -Shift "alias +6 ''"
  333. //alias +Alt "alias +6 {}"
  334. //alias -Alt "alias +6 ''"
  335.  
  336. alias +7 "slot7"
  337. //alias +Shift "alias +7 []"
  338. //alias -Shift "alias +7 ''"
  339. //alias +Alt "alias +7 {}"
  340. //alias -Alt "alias +7 ''"
  341.  
  342. alias +8 "slot8"
  343. //alias +Shift "alias +8 []"
  344. //alias -Shift "alias +8 ''"
  345. //alias +Alt "alias +8 {}"
  346. //alias -Alt "alias +8 ''"
  347.  
  348. alias +9 "slot9"
  349. //alias +Shift "alias +9 stoptheparty"
  350. //alias -Shift "alias +9 slot9"
  351. //alias +Alt "alias +9 {}"
  352. //alias -Alt "alias +9 ''"
  353.  
  354. alias +F1 "exec superscript.cfg"
  355. //alias +Shift "alias +F1 []"
  356. //alias -Shift "alias +F1 ''"
  357. //alias +Alt "alias +F1 {}"
  358. //alias -Alt "alias +F1 ''"
  359.  
  360. //alias +F2 ""
  361. //alias +Shift "alias +F2 []"
  362. //alias -Shift "alias +F2 ''"
  363. //alias +Alt "alias +F2 {}"
  364. //alias -Alt "alias +F2 ''"
  365.  
  366. //alias +F3 ""
  367. //alias +Shift "alias +F3 []"
  368. //alias -Shift "alias +F3 ''"
  369. //alias +Alt "alias +F3 {}"
  370. //alias -Alt "alias +F3 ''"
  371.  
  372. //alias +F4 ""
  373. //alias +Shift "alias +F4 []"
  374. //alias -Shift "alias +F4 ''"
  375. //alias +Alt "alias +F4 {}"
  376. //alias -Alt "alias +F4 ''"
  377.  
  378. alias +F5 "screenshot"
  379. //alias +Shift "alias +F5 []"
  380. //alias -Shift "alias +F5 ''"
  381. //alias +Alt "alias +F5 {}"
  382. //alias -Alt "alias +F5 ''"
  383.  
  384. alias +F6 "save_replay"
  385. //alias +Shift "alias +F6 []"
  386. //alias -Shift "alias +F6 ''"
  387. //alias +Alt "alias +F6 {}"
  388. //alias -Alt "alias +F6 ''"
  389.  
  390. //alias +F7 ""
  391. //alias +Shift "alias +F7 []"
  392. //alias -Shift "alias +F7 ''"
  393. //alias +Alt "alias +F7 {}"
  394. //alias -Alt "alias +F7 ''"
  395.  
  396. //alias +F8 ""
  397. //alias +Shift "alias +F8 []"
  398. //alias -Shift "alias +F8 ''"
  399. //alias +Alt "alias +F8 {}"
  400. //alias -Alt "alias +F8 ''"
  401.  
  402. //alias +F9 ""
  403. //alias +Shift "alias +F9 []"
  404. //alias -Shift "alias +F9 ''"
  405. //alias +Alt "alias +F9 {}"
  406. //alias -Alt "alias +F9 ''"
  407.  
  408. //alias +F10 ""
  409. //alias +Shift "alias +F10 []"
  410. //alias -Shift "alias +F10 ''"
  411. //alias +Alt "alias +F10 {}"
  412. //alias -Alt "alias +F10 ''"
  413.  
  414. //alias +F11 ""
  415. //alias +Shift "alias +F11 []"
  416. //alias -Shift "alias +F11 ''"
  417. //alias +Alt "alias +F11 {}"
  418. //alias -Alt "alias +F11 ''"
  419.  
  420. alias +F12 "replay_togglereplaytips"
  421. //alias +Shift "alias +F12 []"
  422. //alias -Shift "alias +F12 ''"
  423. //alias +Alt "alias +F12 {}"
  424. //alias -Alt "alias +F12 ''"
  425.  
  426.  
  427. //Using the Mouse
  428.  
  429. bind mouse1 "+M1"
  430. bind mouse2 "+M2"
  431. bind mouse3 "+M3"
  432. bind mouse4 "+M4"
  433. bind mouse5 "+M5"
  434. bind mwheelup "+MW1"
  435. bind mwheeldown "+MW2"
  436.  
  437. alias +M1 "+attack"
  438. //alias +Shift "alias M1 []"
  439. //alias -Shift "alias M1 ''"
  440. //alias +Alt "alias M1 {}"
  441. //alias -Alt "alias M1 ''"
  442.  
  443. alias +M2 "+attack2"
  444. //alias +Shift "alias M2 []"
  445. //alias -Shift "alias M2 ''"
  446. //alias +Alt "alias M2 {}"
  447. //alias -Alt "alias M2 ''"
  448.  
  449. alias +M3 "+attack3"
  450. //alias +Shift "alias M3 []"
  451. //alias -Shift "alias M3 ''"
  452. //alias +Alt "alias M3 {}"
  453. //alias -Alt "alias M3 ''"
  454.  
  455. alias +M4 "server1"
  456. //alias +Shift "alias M4 []"
  457. //alias -Shift "alias M4 ''"
  458. //alias +Alt "alias M4 {}"
  459. //alias -Alt "alias M4 ''"
  460.  
  461. alias +M5 "server2"
  462. //alias +Shift "alias M5 []"
  463. //alias -Shift "alias M5 ''"
  464. //alias +Alt "alias M5 {}"
  465. //alias -Alt "alias M5 ''"
  466.  
  467. alias +MW1 "invprev"
  468. alias +Shift "alias MW1 ShiftMW1"
  469. alias -Shift "alias MW1 invprev"
  470. //alias +Alt "alias MW1 {}"
  471. //alias -Alt "alias MW1 ''"
  472.  
  473. alias +MW2 "invnext"
  474. alias +Shift "alias MW2 ShiftMW2"
  475. alias -Shift "alias MW2 invnext"
  476. //alias +Alt "alias MW2 {}"
  477. //alias -Alt "alias MW2 ''"
  478.  
  479.  
  480. //End of Bindings
  481. //Start of Tasks
  482.  
  483. //DOTASK
  484.  
  485.  
  486. //The 'Tasks' section of this script is devoted to things that are designed to loop, run at set intervals, or use when not actually playing.
  487. //Consider these tasks as "Labors made Simple."
  488. //To program these tasks, you will see places where there are empty brackets > [].
  489. //In these brackets, you will put the intervals for what is stated. Once again, in the quotes (""), you put the desired task.
  490. //To bind keys to these tasks, you will need to review the statement in front of the command. You should also bind a key to stop the loop.
  491. //So you want to bind a key to loop(number) to start the loop, and also a key to bloop(number) to stop the loop.
  492. //While breaking a loop, remember that if you are using the loop for something other than chat messages, in front of the loop(number) in quotes, put the default action.
  493. //For example, you are using a gun-changing loop. If you do not set a default to go to while breaking the loop, it will keep your current gun equipped.
  494. //This is the text that follows the two-slashes, lets show an example.
  495. //I want to say in chat that I am selling weapons for 1 scrap each every 2 minutes. Note that 100 "frames" is equivalent to 1 second real time.
  496. //The line at first will look like this:
  497.  
  498. //loop1 alias loop1 "___; wait []; rloop1"
  499. //rloop1 alias rloop1 "loop1"
  500.  
  501. //First, we erase "//loop1 and //rloop1. Next, in the '____' space, we put a command. For this example, I am using say Selling weapons for 1 scrap each!
  502. //Next, we want to fill in the interval. 100 frames to a second, that means 6000 frames per minute, which means I am putting in the brackets 12000.
  503. //Your final line, which will loop the message every 2 minutes, will look like this:
  504. //loop1 alias loop1 "say Selling weapons for 1 scrap each!; wait 12000; rloop1"
  505.  
  506. //You may also want to have a single loop perform multiple tasks.
  507. //Lets say we want to also say trade me, 1 second after the first message. All you need to do is add an additional 'wait' command and semicolons.
  508. //Your line should look like this:
  509. //loop1 alias loop1 "say Selling weapons for 1 scrap each!; wait 100; say Trade me!; wait 12000; rloop1"
  510. //What that does: Starts the loop when you press your bound key (see 5th/6th lines in Tasks), and says the first part, waits 1 second, says the second part,
  511. //then waits 2 minutes and goes to a second alias. The second alias (or abbreviation, shortcut, etc.) redirects you back to the first loop, therefore continuing the loop.
  512. //End of tutorial, loop tasks start now:
  513.  
  514. //loop1 alias loop1 "_; wait []; rloop1"
  515. //rloop1 alias rloop1 "loop1"
  516. //bloop1 alias bloop1 "alias rloop1 break; alias rloop1 loop1"
  517.  
  518. //loop2 alias loop2 "_; wait []; rloop2"
  519. //rloop2 alias rloop2 "loop2"
  520. //bloop2 alias bloop2 "alias rloop2 break; alias rloop2 loop2"
  521.  
  522. //loop3 alias loop3 "_; wait []; rloop3"
  523. //rloop3 alias rloop3 "loop3"
  524. //bloop3 alias bloop3 "alias rloop3 break; alias rloop3 loop3"
  525.  
  526. //loop4 alias loop4 "_; wait []; rloop4"
  527. //rloop4 alias rloop4 "loop4"
  528. //bloop4 alias bloop4 "alias rloop4 break; alias rloop4 loop4"
  529.  
  530. //loop5 alias loop5 "_; wait []; rloop5"
  531. //rloop5 alias rloop5 "loop5"
  532. //bloop5 alias bloop5 "alias rloop5 break; alias rloop5 loop5"
  533.  
  534. //loop6 alias loop6 "_; wait []; rloop6"
  535. //rloop6 alias rloop6 "loop6"
  536. //bloop6 alias bloop6 "alias rloop6 break; alias rloop6 loop6"
  537.  
  538. //Simple auto-attacking/walking scripts.
  539. //Bind keys to autowalk, autofire, or autowalkfire. To stop doing the action, make sure you have a key bound to autostop.
  540.  
  541. alias autowalk "+forward"
  542. alias autofire "+attack"
  543. alias autowalkfire "+forward; +attack"
  544. alias autostop "-forward; -attack"
  545.  
  546. //End of Tasks
  547. //Start of Functions
  548.  
  549.  
  550. //COOLSTUFF
  551.  
  552. //In this section, 'Functions', I will collaborate a bunch of cool things that change the way gameplay works and sometimes looks.
  553. //I will constantly be adding to this, so keep up with the updates as I release them.
  554.  
  555. //Set a bind for "net_graph 1" to view your FPS.
  556.  
  557. //To start us off, my very own, rainbow/disco script!
  558. //This script features a loop between 18 different colors every .05 seconds. This makes you look like a rainbow, and a lot of people will ask how you did it.
  559. //Please note that this only works on servers that allow the sm_colorme plugin to be used by you.
  560.  
  561. //Rainbow or Disco Mode Script (Original concept by: moonbears, I revised the script and added 12 more colors.)
  562. //Set a bind to "disco" (I use '0')
  563.  
  564. alias disco "sm_colorme red; wait 5; colors2"
  565. alias colors2 "sm_colorme orange; wait 5; colors3"
  566. alias colors3 "sm_colorme yellow; wait 5; colors4"
  567. alias colors4 "sm_colorme lime; wait 5; colors5"
  568. alias colors5 "sm_colorme green; wait 5; colors6"
  569. alias colors6 "sm_colorme blue; wait 5; colors7"
  570. alias colors7 "sm_colorme cyan; wait 5; colors8"
  571. alias colors8 "sm_colorme lightblue; wait 5; colors9"
  572. alias colors9 "sm_colorme violet; wait 5; colors10"
  573. alias colors10 "sm_colorme purple; wait 5; colors11"
  574. alias colors11 "sm_colorme silver; wait 5; colors12"
  575. alias colors12 "sm_colorme chocolate; wait 5; colors13"
  576. alias colors13 "sm_colorme saddlebrown; wait 5; colors14"
  577. alias colors14 "sm_colorme tan; wait 5; colors15"
  578. alias colors15 "sm_colorme olive; wait 5; colors16"
  579. alias colors16 "sm_colorme ghostwhite; wait 5; colors17"
  580. alias colors17 "sm_colorme pink; wait 5; colors18"
  581. alias colors18 "sm_colorme tomato; wait 5; redirect"
  582. alias redirect disco
  583.  
  584. //Loop-Break
  585. //Set a bind to "stoptheparty" (I use '9')
  586. alias stoptheparty "alias redirect break"
  587. alias break "sm_colorme normal; alias redirect disco"
  588.  
  589.  
  590.  
  591. //Next, we have the Sniper Enhancement script. This script will not rezoom if you are moving, but will if you are not moving.
  592. //There is also a second option which will make your sniper more precise by lowering sensitivity while holding down a button.
  593.  
  594. //Sniper Enhancer
  595. //Bind a key to "supersniper1".
  596. //No-rescoping:
  597.  
  598. //bind "w" "+frw"
  599. //bind "s" "+bck"
  600. //bind "a" "+lft"
  601. //bind "d" "+rgt"
  602. //bind "MOUSE2" "+rezoom"
  603.  
  604. //alias "+frw" "cl_autorezoom 0; +forward"
  605. //alias "-frw" "-forward"
  606.  
  607. //alias "+bck" "cl_autorezoom 0; +back"
  608. //alias "-bck" "-back"
  609.  
  610. //alias "+lft" "cl_autorezoom 0; +moveleft"
  611. //alias "-lft" "-moveleft"
  612.  
  613. //alias "+rgt" "cl_autorezoom 0; +moveright"
  614. //alias "-rgt" "-moveright"
  615.  
  616. //alias "+rezoom" "+attack2; cl_autorezoom 1;"
  617. //alias "-rezoom" "-attack2"
  618.  
  619. //Bind a key to "supersniper2".
  620. //Note that precision will be toggled by your key press.
  621. //Precision by Sensitivity:
  622.  
  623. alias supersniper2 "zoom_sensitivity_ratio 0.5; alias supersniper2 noobsniper"
  624. alias noobsniper "zoom_sensitivity_ratio 1"
  625.  
  626. //Press F1 to reload this script, and turn off all functions.
  627.  
  628. //Next, we have the weapon zoom script. This script changes the field of view to "zoom in" most weapons.
  629. //Note: May not make easier to aim.
  630.  
  631. //Bind a key to "scope".
  632. //Note: Zoom is toggled, and may not work on all weapons.
  633.  
  634. alias zoomout "fov_desired 90; r_drawviewmodel 1; alias scope zoomin"
  635. alias zoomin "fov_desired 25; r_drawviewmodel 0; alias scope zoomout"
  636. alias scope "nozoom"
  637.  
  638. //Here we have, what I consider, a very useful engineer script.
  639. //Using 8 binds, you can build and destroy all 4 buildings with a button.
  640. //Note that b1, b2 etc. means building, and d1 means destroying.
  641.  
  642. //Bind 8 keys to respective buildings. B1 builds dispenser, D3 destroys teleporter entrance.
  643. //I use Shift + A,S,D,F to build, and Shift + Z,X,C,V to destroy.
  644.  
  645. alias b1 "build 0" //Dispenser
  646. alias b2 "build 1" //Sentry
  647. alias b3 "build 2" //Tele-In
  648. alias b4 "build 3" //Tele-Out
  649.  
  650. alias d1 "destroy 0" //Dispenser
  651. alias d2 "destroy 1" //Sentry
  652. alias d3 "destroy 2" //Tele-In
  653. alias d4 "destroy 3" //Tele-Out
  654.  
  655. //This next script allows to change field of view while holding Shift and scrolling the mouse wheel.
  656.  
  657. alias +ShiftMW1 "fovexpand"
  658. alias +ShiftMW2 "fovcontract"
  659. alias -ShiftMW1 "defaultmw1"
  660. alias -ShiftMW2 "defaultmw2"
  661.  
  662. alias fovexpand "incrementvar viewmodel_fov -120 120 1"
  663. alias fovcontract "incrementvar viewmodel_fov -120 120 -1"
  664. alias defaultmw1 "bind mwheelup invprev"
  665. alias defaultmw2 "bind mwheeldown invnext"
  666.  
  667. //This next script allows you to join spectator, blue, or red team in the press of a button.
  668.  
  669. //Bind keys to spec, blue, and red. Default keys are set to ',' '.' and '/'.
  670.  
  671. alias Spec "jointeam 2" //Joins Spectator
  672. alias Blue "jointeam 3" //Joins Blue
  673. alias Red "jointeam 4" //Joins Red
  674.  
  675. //This simple script allows you to change your class with a simple press of a button.
  676.  
  677. //Bind 9 keys for each class.
  678. //I use Home, End, Insert, PgUp, Delete, PgDn, Forward Slash, Asterick, and Minus.
  679. //For your convenience, I have put those 9 binds right here, you can feel free to change them if you wish.
  680.  
  681. bind Home "join_class Scout" //Joins Scout
  682. bind End "join_class Soldier" //Joins Soldier
  683. bind Ins "join_class Pyro" //Joins Pyro
  684. bind PgUp "join_class Demoman" //Joins Demoman
  685. bind Del "join_class Heavyweapons" //Joins Heavy
  686. bind PgDn "join_class Engineer" //Joins Engineer
  687. bind KP_Slash "join_class Medic" //Joins Medic
  688. bind KP_Multiply "join_class Sniper" //Joins Sniper
  689. bind KP_Minus "join_class Spy" //Joins Spy
  690.  
  691. //This next, and final for now, script allows you to change servers with the click of a button or 2.
  692.  
  693. //All you have to do is bind keys to server1, server2, server3, and server4. You don't have to use all of them.
  694. //Place the IP in the brackets of the line.
  695. //Example: alias server1 "connect 00.00.000.00:00000"
  696.  
  697. alias server1 "connect 74.91.113.66:2701"
  698. alias server2 "connect 64.74.97.15:27015"
  699. alias server3 "connect []"
  700. alias server4 "connect []"
  701.  
  702.  
  703. //This is a beta version of the script. More will be added later. Thank you!
  704.  
  705. //Legend's Personal Scripts
  706.  
  707. alias scoutjump "bind mouse2 +conc"
  708. alias spyjump "bind mouse1 +bungee; bind mouse2 +conc"
  709. alias nojump "bind mouse1 +attack; bind mouse2 +attack"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement