网游按键精灵后台脚本怎么做 ? 步骤?
1个回答
展开全部
Call FindPic(0,0,800,600,"Documents and Settings\Administrator\桌面小青狼.bmp",0.9,x,y)
If x>=0 and y>=0
MoveTo x,y
Delay 100
LeftClick 1
EndIf
//===========这里是加血和蓝的代码===============
Sub main
Rem s
Delay 40
Gosub lan
Gosub hong
Delay 20000
//延时20秒后循环一次
Goto s
Return
Sub hong
IfColor 87,51,"1045ff",1
KeyPress 51,1
//加血是3键
Delay 30
EndIf
GoSub lan
IfColor 172,51,"ef7500",1
KeyPress 49,1
//加蓝是1键
Delay 30
EndIf
End Sub
//捡物品子程序
Sub jwp
Rem again
Call FindPic(0,30,1020,660,"火狐皮.bmp",0.8,x2,y2)
If x>=0 and y>=0
MoveTo x,y
KeyDown 32,1
LeftDown 1
Delay 1000
KeyUp 32,1
LeftUp 0
KeyPress 32,2
End If
Return
If x>=0 and y>=0
MoveTo x,y
Delay 100
LeftClick 1
EndIf
//===========这里是加血和蓝的代码===============
Sub main
Rem s
Delay 40
Gosub lan
Gosub hong
Delay 20000
//延时20秒后循环一次
Goto s
Return
Sub hong
IfColor 87,51,"1045ff",1
KeyPress 51,1
//加血是3键
Delay 30
EndIf
GoSub lan
IfColor 172,51,"ef7500",1
KeyPress 49,1
//加蓝是1键
Delay 30
EndIf
End Sub
//捡物品子程序
Sub jwp
Rem again
Call FindPic(0,30,1020,660,"火狐皮.bmp",0.8,x2,y2)
If x>=0 and y>=0
MoveTo x,y
KeyDown 32,1
LeftDown 1
Delay 1000
KeyUp 32,1
LeftUp 0
KeyPress 32,2
End If
Return
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询