Here’s the updated script with2labeled as "Corpse Tendrils" and set to trigger every 1 second, and3labeled as "Skeletal Priest":
────────────────────────────────────────────────────────────────────
autohotkeyCopy code; Define the toggle variable
toggle2 := false
; (backtick) will toggle the script on/off
:= ! ; Toggles between true and false
if (toggle2) {
SetTimer, PressCorpseTendrils, 1000 ; Start the timer to press 2 (Corpse Tendrils) every 1 second
SetTimer, PressSkeletalPriest, 6100 ; Start the timer to press 3 (Skeletal Priest) every 6.1 seconds
} else {
SetTimer, PressCorpseTendrils, Off ; Stop the timer for Corpse Tendrils
SetTimer, PressSkeletalPriest, Off ; Stop the timer for Skeletal Priest
}
return
; Define the function to press 2 (Corpse Tendrils) every 1 second
PressCorpseTendrils:
Send, 2 ; Press 2
Tooltip, Using Corpse Tendrils ; Show a brief tooltip
Sleep, 500 ; Optional sleep to ensure smooth execution
Tooltip ; Remove the tooltip
return
; Define the function to press 3 (Skeletal Priest) every 6.1 seconds
PressSkeletalPriest:
Send, 3 ; Press 3
Tooltip, Using Skeletal Priest ; Show a brief tooltip
Sleep, 500 ; Optional sleep to ensure smooth execution
Tooltip ; Remove the tooltip
return
Key Changes:
Labels:2is now labeled as "Corpse Tendrils."3is now labeled as "Skeletal Priest."
2is now labeled as "Corpse Tendrils."
3is now labeled as "Skeletal Priest."
Cooldowns:PressCorpseTendrilsis triggered every 1 second (1000milliseconds).PressSkeletalPriestis triggered every 6.1 seconds (6100milliseconds).
PressCorpseTendrilsis triggered every 1 second (1000milliseconds).
PressSkeletalPriestis triggered every 6.1 seconds (6100milliseconds).
Tooltips:Brief tooltips are added to indicate which skill is being used.
Brief tooltips are added to indicate which skill is being used.
Labels:
2is now labeled as "Corpse Tendrils."
3is now labeled as "Skeletal Priest."
2is now labeled as "Corpse Tendrils."
3is now labeled as "Skeletal Priest."
Cooldowns:
PressCorpseTendrilsis triggered every 1 second (1000milliseconds).
PressSkeletalPriestis triggered every 6.1 seconds (6100milliseconds).
PressCorpseTendrilsis triggered every 1 second (1000milliseconds).
PressSkeletalPriestis triggered every 6.1 seconds (6100milliseconds).
Tooltips:
Brief tooltips are added to indicate which skill is being used.
Brief tooltips are added to indicate which skill is being used.
Steps to Use:
Save the script as a.ahkfile (e.g.,CorpseTendrilsAndSkeletalPriest.ahk).
Run the script by double-clicking the file.