Hello!
I need some scripts for Fallout: New Vegas, first to spam "e" to pick up items in the game world, it needs to be toggleable with Ctrl+Alt+E. Secondly, needing to spam "w" to spin the slots machine in game, toggleable with Ctrl+Alt+W. Lastly, I need a script to spam Shift+Left Click, maybe activating with Ctrl+Alt+M to move items into a container. Toggleable as well. all on a roughly 10ms delay please.
I appreciate any help.
Script to Spam "E" with Ctrl+Alt+E (Toggleable)
-
- Posts: 224
- Joined: 16 Aug 2023, 10:58
Re: Script to Spam "E" with Ctrl+Alt+E (Toggleable)
Hi.
Please try this.
Please try this.
Code: Select all
#Requires AutoHotkey v2.0
#SingleInstance
*^!e:: { ; Ctrl+Alt+E
static on := false
SetTimer () => SendEvent("{e}"), (on := !on) ? 10 : 0 ; 10ms
}
*^!w:: { ; Ctrl+Alt+W
static on := false
SetTimer () => SendEvent("{w}"), (on := !on) ? 10 : 0 ; 10ms
}
*^!m:: { ; Ctrl+Alt+M
static on := false
SetTimer () => SendEvent("{LShift down}{LButton}{LShift up}"), (on := !on) ? 10 : 0 ; 10ms
}
F4::ExitApp