灵剑基本卡刀

#NoEnv
#KeyHistory 0
ListLines Off
SetKeyDelay, -1, -1
SetMouseDelay, -1
SetDefaultMouseSpeed, 0
SetWinDelay, -1

#IfWinActive ahk_class LaunchUnrealUWindowsClient
F1::
	MouseGetPos, MouseX, MouseY
	PixelGetColor, color, %MouseX%, %MouseY%, RGB
	StringRight color,color,10 ;
	ToolTip, %MouseX%,%MouseY%颜色是:%color%
return

+::
	SetTimer, PressB, 0
return

PressB:
	if ( GetColor(1108,898)=="0x6E6F6E" ) ;
	{
		Send {f down}
		Sleep 365
		Send {f up}
		Sleep 90
		Send {r down}
		Sleep 15
		Send {r up}
		Sleep 20
	}
	else
	{
		if ( GetColor(1118,912)=="0x245E6B" ) ;
		{
			Send {f down}
			Sleep 365
			Send {f up}
			Sleep 90
			Send {r down}
			Sleep 15
			Send {r up}
			Sleep 20
		}
		else
		{
			if ( GetColor(1039,971)=="0xE1EBEC" ) ;
			{
				Send {] down}
				Sleep 420
				Send {] up}
				Sleep 100
				Send {f down}
				Sleep 200
				Send {f up}
				Sleep 100
				Send {f down}
				Sleep 200
				Send {f up}
				Sleep 100
				Send {f down}
				Sleep 200
				Send {f up}
				Sleep 100
				Send {c down}
				Sleep 100
				Send {c up}
				Sleep 100
				Send {f down}
				Sleep 365
				Send {f up}
				Sleep 100
				Send {r down}
				Sleep 15
				Send {r up}
				Sleep 20
			}
			else
			{
				if ( GetColor(891,971)=="0x6D2410") ;
				{
					Send {z down}
					Sleep 100
					Send {z up}
					Sleep 200
					Send z
					Sleep 20
				}
			}
		}
	}
	if ( GetColor(891,971)=="0x6D2410"or GetColor(891,971)=="0x6D2410" or GetColor(891,971)=="0x6D2410") ;取色
	{		
		SetTimer, PressB, Off
		;你要执行的内容
	}				
return


;抓取颜色函数,在上面脚本中调用。
GetColor(x,y)
{
	PixelGetColor, color, x, y, RGB
	StringRight color,color,10 ;
	return color
}
return
EmptyMem(PID="Client or BNS or AHK Rocks"){
	pid:=(pid="Client or BNS or AHK Rocks") ? DllCall("GetCurrentProcessId") : pid
	h:=DllCall("OpenProcess", "UInt", 0x001F0FFF, "Int", 0, "Int", pid)
	DllCall("SetProcessWorkingSetSize", "UInt", h, "Int", -1, "Int", -1)
	DllCall("CloseHandle", "Int", h)
}
return
MButton::Pause

给TA捐赠
共{{data.count}}人
人已捐赠
应用

游戏TheEscapist_不停点鼠标左键

2020-3-9 4:00:44

其他应用

生死狙击按键映射

2020-3-9 4:17:44

个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索