Skip to content

Instantly share code, notes, and snippets.

@xorrbit
Created November 2, 2016 14:38
Show Gist options
  • Save xorrbit/18eadf02703cb64619758b4175343bbf to your computer and use it in GitHub Desktop.
Save xorrbit/18eadf02703cb64619758b4175343bbf to your computer and use it in GitHub Desktop.
DRL autohotkey script
#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.
$F2::
{
;multiplayer
MouseClick, left, 243, 213
Sleep, 500
;set region, east
MouseClick, left, 299, 390
Sleep, 500
;create server
MouseClick, left, 312, 508
;wait for server to load
Sleep, 5000
MouseClick, left, 354, 344
Sleep, 500
Send, fpv{SHIFTDOWN}c{SHIFTUP}hat
;set mode to race
MouseClick, left, 1098, 537
;gates is default map
Sleep, 500
;set map Miami
MouseClick, left, 1074, 584
Sleep, 250
;set map Lapocalypse
MouseClick, left, 1074, 584
Sleep, 250
;set map bell labs
;MouseClick, left, 1074, 584
;Sleep, 250
;set map straight
;MouseClick, left, 1074, 584
;Sleep, 250
;start
MouseClick, left, 309, 858
}
return
$F3::
{
MouseClick, left, 1530, 1118
Sleep, 2000
MouseClick, left, 1530, 1119
Sleep, 3000
Send, {SPACE}
}
$F4::
{
Send, {ESC}
Sleep, 250
MouseClick, left, 383, 446
Sleep, 3000
Send, {SPACE}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment