Skip to content

Instantly share code, notes, and snippets.

@kimoto
Created November 3, 2010 23:54
Show Gist options
  • Select an option

  • Save kimoto/661915 to your computer and use it in GitHub Desktop.

Select an option

Save kimoto/661915 to your computer and use it in GitHub Desktop.
Minecraft Autohotkey Script
#IfWinActive,ahk_class SunAwtFrame
toggle := 0
;q::
; If ( toggle )
; {
; Send,{1}
; toggle := 0
; }
; Else
; {
; Send,{2}
; toggle := 1
; }
; return
q::
Send,{Tab}
return
h::
Send,{1}
Send,{g}
Send,{2}
Send,{g}
Send,{3}
Send,{g}
Send,{4}
Send,{g}
Send,{5}
Send,{g}
Send,{6}
Send,{g}
Send,{7}
Send,{g}
Send,{8}
Send,{g}
Send,{9}
Send,{g}
return
g::
Loop, 64
{
Send,{g}
}
return
e::
Send,{1}
Sleep 50
MouseClick, Right
return
XButton1::
Send,{1}
return
XButton2::
Send,{2}
return
#IfWinActive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment