feel free to comment and add to the script.
Code:
;
; AutoHotkey Version: 1.x
; Language: English
; Platform: Win9x/NT
; Author: grzybek (i stole his original script for direction.) zultdush
;
; Script Function:
;this is a script to macro weapon skill on a designated parry second account.
;first to get two accounts running on one computer: log in on attacking character, wait till completely in the world. then, load lobby again, and login under second account and parry ;character.
; to start, have parry character equipped and unsheathed with a shield. on attacking character, have nothing attached and nothing equipped (macro will take care of it)
;when you begin the macro, make sure you start with the focus on the attacking character. thats about it.
;
; HIT PARRY
;
; Key 1-4 -2h wep
; Key 0 - Rest
; Key V - parry
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
Sleep 5000
Loop
{
Sleep 1000
Send {1}
Sleep 2000
Send {R}
Sleep 1000
Loop, 40
{
MouseClick, left
Sleep 100
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 100
Send {V down}
Sleep 1000
Send {V UP}
Sleep 500
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 1500
}
Send {R}
Sleep 1000
Send {0}
Sleep 1000
MouseClick, left
Sleep 1000
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 1000
Send {R}
Sleep 1000
Send {0}
Sleep 1000
MouseClick, left
Sleep 1000
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 190000
Send {w}
Sleep 1000
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 1000
Send {w}
Sleep 2000
Send {R}
Sleep 1000
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 1000
Send {2}
Sleep 2000
Send {R}
Sleep 1000
Loop, 40
{
MouseClick, left
Sleep 100
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 100
Send {V down}
Sleep 1000
Send {V UP}
Sleep 500
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 1500
}
Send {R}
Sleep 1000
Send {0}
Sleep 1000
MouseClick, left
Sleep 1000
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 1000
Send {R}
Sleep 1000
Send {0}
Sleep 1000
MouseClick, left
Sleep 1000
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 190000
Send {w}
Sleep 1000
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 1000
Send {w}
Sleep 2000
Send {R}
Sleep 1000
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 1000
Send {3}
Sleep 2000
Send {R}
Sleep 1000
Loop, 40
{
MouseClick, left
Sleep 100
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 100
Send {V down}
Sleep 1000
Send {V UP}
Sleep 500
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 1500
}
Send {R}
Sleep 1000
Send {0}
Sleep 1000
MouseClick, left
Sleep 1000
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 1000
Send {R}
Sleep 1000
Send {0}
Sleep 1000
MouseClick, left
Sleep 1000
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 190000
Send {w}
Sleep 1000
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 1000
Send {w}
Sleep 2000
Send {R}
Sleep 1000
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 1000
Send {3}
Sleep 2000
Send {R}
Sleep 1000
Loop, 40
{
MouseClick, left
Sleep 100
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 100
Send {V down}
Sleep 1000
Send {V UP}
Sleep 500
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 1500
}
Send {R}
Sleep 1000
Send {0}
Sleep 1000
MouseClick, left
Sleep 1000
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 1000
Send {R}
Sleep 1000
Send {0}
Sleep 1000
MouseClick, left
Sleep 1000
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 190000
Send {w}
Sleep 1000
Send, {ALTDOWN}{TAB}{ALTUP}
Sleep 1000
Send {w}
Sleep 2000
Send {R}
Sleep 1000
Send, {ALTDOWN}{TAB}{ALTUP}
}






