Guest User

TF2 Script Templates v1

a guest
Nov 17th, 2013
876
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.33 KB | None | 0 0
  1. List of script templates for tf2
  2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3.  
  4. ~~For a list of some commands that you can use visit~~
  5. ~~http://wiki.teamfortress.com/wiki/List_of_useful_console_commands~~
  6.  
  7. ________
  8. Legend:
  9. <key> = whatever key you wish to bind to
  10. <alias> = whatever you want to call the alias
  11. <_____> = explains what you should put there
  12. ** = REQUIRES wait command
  13. // = not code
  14. ________
  15.  
  16. //<command> spots can also be replaced with aliases
  17.  
  18. -Simple binds:
  19.  
  20. bind <key> "<command>"
  21.  
  22. -Aliasing (binding a list of commands to 1 command):
  23.  
  24. alias <Name of alias> "<commands>"
  25.  
  26. -multiple commands at once
  27.  
  28. "<command1>; <command2>; <command3>"
  29.  
  30. -toggle for any kind of command
  31.  
  32. alias <alias for on> "<command>; bind <key> <alias for off>"
  33. alias <alias for off> "<command>; bind <key> <alias for on>"
  34. bind <key> <alias for on>
  35.  
  36. -toggle for commands with numbers at the end, you cannot make aliases for these kinds of commands iirc
  37.  
  38. bindtoggle <command> <first number> <second number>
  39.  
  40. -aliases only while a button is held
  41.  
  42. alias +<name of alias> "<command>"
  43. alias -<name of alias> "<command>"
  44. bind <key> +<name of alias>
  45.  
  46. -multiple keys to be pressed at the same time for 1 a command, can be expanded for 3+ keys
  47.  
  48. alias <command alias> "<command>"
  49. alias +<alias for key 1 pressed> "bind <key 2> <command alias>"
  50. alias -<alias for key 1 pressed> "unbind <key 2>"
  51. bind <key 1> +<alias for key 1 pressed>
  52.  
  53. -different command every time you press the key loop, can be expanded infinitely
  54.  
  55. alias <alias1> "<command1>; bind <key> <alias 2>"
  56. alias <alias2> "<command2>; bind <key> <alias 3>"
  57. alias <alias3> "<command3>; bind <key> <alias 4>"
  58. alias <alias4> "<command4>; bind <key> <alias 5>"
  59. alias <alias5> "<command5>; bind <key> <alias 1>" //this line loops back to command 1
  60.  
  61. -**Pseudo-random command when key pressed, can be expanded infinitely
  62.  
  63. //the number after wait can be replaced with any number you choose,
  64. //the smaller the number the more variation but higher chance of crashing the game if you go to low
  65. alias <alias1> "bind <key> <command1>; wait 10; <alias 2>"
  66. alias <alias2> "bind <key> <command2>; wait 10; <alias 3>"
  67. alias <alias3> "bind <key> <command3>; wait 10; <alias 4>"
  68. alias <alias4> "bind <key> <command4>; wait 10; <alias 5>"
  69. alias <alias5> "bind <key> <command5>; wait 10; <alias 1>"
Advertisement
Add Comment
Please, Sign In to add comment