Advertisement
LotsOfS

Source engine 2007 scripts

Nov 4th, 2012
1,983
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;; This is my AHK file as of April 2nd 2012, edited to suit everybody's needs.  
  2. ;; There have been various kinds of scripts around, each with slight differences. These work for me and they should work for you.
  3. ;; If you want to disable or enable a button, just remove or add the ; before the first line that reads a key.
  4. ;; Grab AHK at AutoHotkey.com , if you need help, give me a ring on twitch.tv/lotsofs
  5. ;; Have fun.
  6. ;;      -S
  7. ;; PS: I also do requests. These will be put below.
  8.  
  9.  
  10.  
  11.  
  12.  
  13. ;; Toggle script. Usefull when you need to type something but can't due to    spacebar  s pam!
  14. ;; HIGHLY RECOMMENDED. PUT THIS IN YOUR SCRIPT. Mapped to F7 currently.
  15.  
  16. *f7:: Suspend, Toggle
  17.  
  18. ;; Regular bunnyhop/abh script for any source game, assuming jump is mapped to Space.
  19. *Space::
  20. Loop
  21. {
  22. GetKeyState, state, Space, P
  23. if State = U
  24. break
  25. ; Otherwise:
  26. Send, {blind}{Space}
  27. Sleep, 10                   ;; Change this number to 40 or 60 or some other increment of 10 or 15 if the script does not work.
  28. }
  29. return
  30.  
  31.  
  32.  
  33. ;; Wallclimb/propfly. Assuming Space is jump and E is use. It also disables capslock so no more CAPSTYPING or annoying keyboard lights.
  34. *CapsLock::
  35. Loop
  36. {
  37. GetKeyState, state, CapsLock, P
  38. if State = U
  39. break
  40. ; Otherwise:
  41. Send, {blind}e{space}
  42. Sleep, -1
  43. }
  44. return
  45.  
  46.  
  47.  
  48. ;; Ladderboosting. Assuming jump is mapped to space and crouch is mapped to Ctrl. Might not work if crouch is set to toggle. XButton1 is one of the thumbbuttons on your mouse.
  49. *XButton1::
  50. Loop
  51. {
  52. GetKeyState, state, XButton1, P
  53. if State = U
  54. break
  55. ; Otherwise:
  56. Send, {blind}{Space}{lctrl}
  57. Sleep, 10
  58. }
  59. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement