Skip to content

Instantly share code, notes, and snippets.

@macbeth76
Created April 1, 2010 00:49
Show Gist options
  • Select an option

  • Save macbeth76/351157 to your computer and use it in GitHub Desktop.

Select an option

Save macbeth76/351157 to your computer and use it in GitHub Desktop.
^+c::
if macon {
SetTimer, AttackSeq1, off
SetTimer, Bar1, off
SetTimer, Bar2, off
SetTimer, Bar3, off
SetTimer, Bar4, off
SetTimer, Bar5, off
SetTimer, Bar6, off
SetTimer, Bar7, off
SetTimer, Bar8, off
SetTimer, BlinkScrollLock, off
SetCapsLockState off
macon := false
msgbox, TRUE
} else {
SetTimer, AttackSeq1, 3000
SetTimer, Bar1, 1000
SetTimer, Bar2, 1000
SetTimer, Bar3, 1000
SetTimer, Bar4, 1000
SetTimer, Bar5, 1000
SetTimer, Bar6, off
SetTimer, Bar7, off
SetTimer, Bar8, off
SetTimer, BlinkScrollLock, 500
macon := true
msgbox, FALSE
}
AttackSeq1:
ifWinActive Guild Wars
{
Send c
Send {Space}
return
}
PickUp:
ifWinActive Guild Wars
{
Send {;}
Send {Space}
return
}
Bar1:
ifWinActive Guild Wars
{
Send 1
return
}
Bar2:
ifWinActive Guild Wars
{
Send 2
return
}
Bar3:
ifWinActive Guild Wars
{
Send 3
return
}
Bar4:
ifWinActive Guild Wars
{
Send 4
return
}
Bar5:
ifWinActive Guild Wars
{
Send 5
return
}
Bar6:
ifWinActive Guild Wars
{
Send 6
return
}
Bar7:
ifWinActive Guild Wars
{
Send 7
return
}
Bar8:
ifWinActive Guild Wars
{
Send 8
return
}
BlinkScrollLock:
if GetKeyState("CapsLock", "T")
{
SetCapsLockState off
return
} else {
SetCapsLockState on
return
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment