Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;List of Keynnames can be found here: [url=http://www.autohotkey.com/docs/KeyList.htm]http://www.autohotkey.com/docs/KeyList.htm[/url]
- #IfWinActive Team Fortress 2
- {
- ;*******EDIT IN BETWEEN*******
- ;needs to be the key you bound +duck to ingame
- duckkey = LCtrl
- ;needs to be the key you bound +jump to ingame (Can't be a duckjump script key)
- jumpkey = Space
- ;needs to be the key you bound +attack to ingame only when manualfire is 0
- attackkey = LButton
- ;is the key that will suspend the whole script if you go another Class for example and need the key for something else
- suspendkey = F11
- ;is the key to perform the ctap
- ctapkey = RButton
- ;set this to 1 if you want to fire manually
- manualfire = 1
- ;sets the delay between pressing and releasing duck 150 seems to be close to the limit where you dont lose velocity. Guess lower numbers could work. 1000 = 1 second
- duckdelay = 150
- ;*******EDIT IN BETWEEN*******
- Hotkey, %suspendkey%, SUSPEND
- If manualfire = 1
- {
- Hotkey, %ctapkey%, CTAPNOFIRE
- }
- else
- {
- Hotkey, %ctapkey%, CTAP
- }
- }
- return
- CTAP:
- Send {%duckkey% down}
- Sleep %duckdelay%
- Send {%duckkey% up}
- Send {%jumpkey% down}
- Send {%jumpkey% up}
- Send {%attackkey% down}
- Send {%attackkey% up}
- return
- CTAPNOFIRE:
- Send {%duckkey% down}
- Sleep %duckdelay%
- Send {%duckkey% up}
- Send {%jumpkey% down}
- Send {%jumpkey% up}
- return
- SUSPEND:
- suspend
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement