茶杯头开枪ahk代码

;说明这个工具是为了茶杯头写的,F1表示换枪攻击,F3表示不换枪攻击,F2表示停止攻击.

$F1::
loop{

GetKeyState, state, F2, P
if state = D
{
break

}

Send, {l down}
Send, {l up}
sleep,10
Send,{m down}
Send,{m up}

}
return

$F3::
loop{

GetKeyState, state, F2, P
if state = D
{
break

}

Send, {l down}
Send, {l up}
sleep,10


}
return

原文地址:https://www.cnblogs.com/zhangbo2008/p/10767869.html