dungeon defenders tower stacking ahk script ;; Dungeon Defenders -- Tower Stacker ;; Made by Double Dark (ffhighwind) ;; REQUIREMENTS: ;; Windowed mode and the host of the game. ;; USAGE: ;; CTRL + {0-9} to stack and place a tower. ;; ALT + {0-9} to stack a tower without placing it. This allows you to orient it. #SingleInstance Force ;No point having multiple instances, slows down PC dungeon defenders tower stacking ahk script How to dowload it? dungeon defenders tower stacking ahk script #IfWinActive, Dungeon Defenders ;Disables hotkeys when the game is minimized or isn't running. This doesn't terminate the script. #NoEnv #MaxHotkeysPerInterval 20 #Persistent ;Allows use of global variables instead of just hotkeys SendMode Input ;Input|Play|Event|InputThenPlay, ;Faster and more reliable compared to SendEvent Menu, tray, Tip, DunDef - Tower Stacker CoordMode, Mouse, Screen CoordMode, ToolTip, Screen dungeon defenders tower stacking ahk script How to use it? dungeon defenders tower stacking ahk script SetKeyDelay, 0, 10, Play ; Note that both 0 and -1 are the same in SendPlay mode. SetMouseDelay, 0, Play If (A_AhkVersion <= "1.1.23") { msgbox, You need AutoHotkey v1.1.23 or later to run this script. `n`nPlease go to https://autohotkey.com/ and download a recent version. exit } End:: dungeon defenders tower stacking ahk script How to use it? dungeon defenders tower stacking ahk script ExitApp return /* You can customize the hotkeys to your liking using the following ! ALT, ^ CTRL, + SHIFT, # WIN right key) & means combine keys * means any ALT/CTRL/SHIFT ~ means pass input through dungeon defenders tower stacking ahk script How to use it? dungeon defenders tower stacking ahk script $ means can send itself without recursion & means combine keys Up means fired on release Example Hotkey: