Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;; This is my AHK file as of April 2nd 2012, edited to suit everybody's needs.
- ;; There have been various kinds of scripts around, each with slight differences. These work for me and they should work for you.
- ;; If you want to disable or enable a button, just remove or add the ; before the first line that reads a key.
- ;; Grab AHK at AutoHotkey.com , if you need help, give me a ring on twitch.tv/lotsofs
- ;; Have fun.
- ;; -S
- ;; PS: I also do requests. These will be put below.
- ;; Toggle script. Usefull when you need to type something but can't due to spacebar s pam!
- ;; HIGHLY RECOMMENDED. PUT THIS IN YOUR SCRIPT. Mapped to F7 currently.
- *f7:: Suspend, Toggle
- ;; Regular bunnyhop/abh script for any source game, assuming jump is mapped to Space.
- *Space::
- Loop
- {
- GetKeyState, state, Space, P
- if State = U
- break
- ; Otherwise:
- Send, {blind}{Space}
- Sleep, 10 ;; Change this number to 40 or 60 or some other increment of 10 or 15 if the script does not work.
- }
- return
- ;; Wallclimb/propfly. Assuming Space is jump and E is use. It also disables capslock so no more CAPSTYPING or annoying keyboard lights.
- *CapsLock::
- Loop
- {
- GetKeyState, state, CapsLock, P
- if State = U
- break
- ; Otherwise:
- Send, {blind}e{space}
- Sleep, -1
- }
- return
- ;; 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.
- *XButton1::
- Loop
- {
- GetKeyState, state, XButton1, P
- if State = U
- break
- ; Otherwise:
- Send, {blind}{Space}{lctrl}
- Sleep, 10
- }
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement