pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

pastebin private pastebin - collaborative debugging tool What's a private pastebin?

Posted by enef on Fri 5th Mar 22:12
download | new post

  1. bind "q" "swap"    // swaps between primary and secondary weapons
  2.  
  3. // -----------------
  4. // Go To Last weapon
  5. //   --  default 'q' functionality
  6. // =================
  7. alias current_weapon "weapon2"
  8. alias before_swap "save_current_weapon_2"
  9. alias previous_weapon current_weapon
  10.  
  11. alias save_current_weapon_1 "alias current_weapon weapon1"
  12. alias save_current_weapon_2 "alias current_weapon weapon2"
  13. alias save_current_weapon_3 "alias current_weapon weapon3"
  14. alias save_current_weapon_4 "alias current_weapon weapon4"
  15. alias save_current_weapon_5 "alias current_weapon weapon5"
  16.  
  17. These two things are in two seperate cfg files. The way my config works is that my autoexec executes the competitive.cfg file which then
  18. in turn execs all the other seperate config files.
  19.  
  20. eg.
  21.  
  22. competitive.cfg executes>Binds.cfg (containing the bind "q" "swap") and Weapons.cfg (which contains the explanation of the swap,
  23. aka the alias).
  24.  
  25. If you can figure out how to do that without the seperate configs, good good. glhf.

Submit a correction or amendment below. (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Use syntax highlighting

To highlight particular lines, prefix each line with @@


Remember my settings