Skip to content

Instantly share code, notes, and snippets.

@ansxor
Created November 17, 2020 02:20
Show Gist options
  • Save ansxor/044e122fddf5b4c12edb8ffe7ab4b8b8 to your computer and use it in GitHub Desktop.
Save ansxor/044e122fddf5b4c12edb8ffe7ab4b8b8 to your computer and use it in GitHub Desktop.
;; basically just screams at you when you dont alternate lol im too lazy
;; to locate the window
side := "Right"
~$k::GoSub CheckRight
~$l::GoSub CheckRight
~$d::GoSub CheckLeft
~$s::GoSub CheckLeft
CheckRight:
if (side = "Right")
{
side := "Left"
return
}
else
{
SoundBeep
return
}
CheckLeft:
if (side = "Left")
{
side := "Right"
return
}
else
{
SoundBeep
return
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment