Professional Documents
Culture Documents
Marsi Macro Code Haxball
Marsi Macro Code Haxball
; ISRAEL (C) #1
/*
Use ScrollLock to toggle this script on/off
*/
;splashtext
Progress, B1 w400 cwFFFFFF fs18 zh0, Use ScrollLock to toggle the script`n
On/Off, , , Arial
Sleep 3000
Progress, Off
~Tab::
if ( GetKeyState("ScrollLock", "T") ) ; this will be 'true' if ScrollLock is
toggled 'on'
Suspend, On
Else
send {}
return
~Enter::Suspend, Off
;Wall Grab
$c::
if ( GetKeyState("ScrollLock", "T") ) ; this will be 'true' if ScrollLock is
toggled 'on'
{send, {x down}
sleep, 10
send, {x up}
sleep, 25
send, {x down}
sleep, 10
send, {x up}
sleep, 300
}
else send z
return
;Double kick
$z::
if ( GetKeyState("ScrollLock", "T") ) ; this will be 'true' if ScrollLock is
toggled 'on'
{
send, {x down}
sleep, 53
send, {x up}
sleep, 53
send, {x down}
sleep, 53
send, {x up}
sleep, 53
}
else send c
return
;startup for RED
F1::
sleep 1000
{
send {Right Down}
sleep, 700
send {Right Up}
send {Down Down}
sleep, 1100
send {Down Up}
send {Up Down}{Right Down}
sleep, 1630
send {Up Up}{Right Up}
send {Left Down}{Down Down}
sleep, 100 ;200
send {Left Up}{Down Up}
; The Fake ^
send {Left Down}{Up Down}
sleep, 50
send {Left Up}{Up Up}
send {Up Down}
sleep, 52
send {Up Down}{Right Down}
sleep 190
send {Up Up}{Right Up}
send {Right Down}
sleep 10
send {Right Up}
send, {x down}
sleep, 1
send, {x up}
send {Right Down}
sleep, 500
send {Right Up}
send {Right Down}{Down Down}
sleep, 400
send {Right Up}{Down Up}
}
return
; Note: From now on whenever you run AutoHotkey directly, this script
; will be loaded. So feel free to customize it to suit your needs.