Hero Script - Witch Doctor

This script was a little more complex. It needed to allow the placement of Witch Doctors spells upon certain characters. At the moment it is more like an instant kill / high damage 'ultimate'. First, it lets you place maledict, then has Paralyzing Cast ready for use. Once paralyzing cast is used, your top right inventory slot is used (if dagon then has it ready to click). Lastly, if dagon was used, place witch doctors ult there, otherwise left-click and his ultimate will be used at that location.

The exe to run the script is here

You must have my version of CustomKeys.txt to run the exe.

Basic Witch Doctor will be up shortly

Hero Script - Witch Doctor

#ifWinActive ahk_class Warcraft III

#SingleInstance force

#Persistent

;;Code for Witch Doctor to do maledict, dagon, stun and his ultimate.
;;NOTE: Dagon must be in the top right inventory slot. You must click upon a person
CapsLock::
SetKeyDelay, 200, -1, -1/-1
SendPlay, R
Input, LastKey, L1 V
If (A_ThisHotkey = "*$Lbutton" OR A_ThisHotkey = "*$Lbutton Up")
{
sleep 100
SendPlay, W
Input, LastKey, L1 V
if (A_ThisHotkey = "*$Lbutton" OR A_ThisHotkey = "*$Lbutton Up")
{
sleep 100
SendPlay, {Numpad7}
Input, LastKey, L1 V
if (A_ThisHotkey = "*$Lbutton" OR A_ThisHotkey = "*$Lbutton Up")
{
Sleep 100
SendPlay, {F1}T{Lbutton}
}
}
}
;SendInput, {Enter} %A_ThisHotkey% {Enter}
return

*$Lbutton::
SendInput, {Lbutton Down}
Input
Return

*$Rbutton::
SendInput, {Rbutton Down}
Input
return

*$Lbutton Up::SendInput, {Lbutton Up}
*$Rbutton Up::SendInput, {Rbutton Up}