按键精灵脚本源码 火源小怪
运行环境:分辨率:1366×768 色深:32位 操作系统:Microsoft Windows XP 按键精灵版本:9.00.9460
Dim HY //得到当前可以发送按键消息的窗口 HY = Plugin.Window.GetKeyFocusWnd() Rem xunhuan //按键F6,重置怪物 Call Plugin.Bkgnd.KeyPress(HY, 117) Delay 1000 //按键F1,假死 Call Plugin.Bkgnd.KeyPress(HY, 112) Delay 3000 //按键T,重置假死冷却时间 Call Plugin.Bkgnd.KeyPress(HY, 84) Delay 1000 //按键F7,选中目标火妖兽王 Call Plugin.Bkgnd.KeyPress(HY, 118) Delay 1000 //按键F3,误导宠物 Call Plugin.Bkgnd.KeyPress(HY, 114) Delay 2000 //按键F8,BUG仇恨 Call Plugin.Bkgnd.KeyPress(HY, 119) Delay 7000 //按键3,抢过宠物仇恨 Call Plugin.Bkgnd.KeyPress(HY, 51) Delay 1000 //按键6,毒蛇钉刺 Call Plugin.Bkgnd.KeyPress(HY, 54) Delay 1000 //开始输出循环攻击1 Rem gongji1 For 8 Call Plugin.Bkgnd.KeyPress(HY, 192) Delay 200 Next For 2 Call Plugin.Bkgnd.KeyPress(HY, 52) Delay 200 Next IfColor 366,66,"C7",0 Then Goto gongji1 Else End If Delay 2000 //按下A,调整视角 Call Plugin.Bkgnd.KeyDown(HY, 65) Delay 350 //弹起A键 Call Plugin.Bkgnd.KeyUp(HY, 65) Delay 2000 //按下W键,向前走 Call Plugin.Bkgnd.KeyDown(HY, 87) Delay 1950 //弹起W键 Call Plugin.Bkgnd.KeyUp(HY, 87) Delay 1000 //按键F9,使用远程拾取器 Call Plugin.Bkgnd.KeyPress(HY, 120) Delay 1000 //按下S键,回到原来的位置 Call Plugin.Bkgnd.KeyDown(HY, 83) Delay 2950 //弹起S键 Call Plugin.Bkgnd.KeyUp(HY, 83) Delay 1000 //按下D键,调回视角 Call Plugin.Bkgnd.KeyDown(HY, 68) Delay 350 //弹起D键 Call Plugin.Bkgnd.KeyUp(HY, 68) Delay 2000 //第二轮选怪开始,按下F7选中目标火妖兽王 Call Plugin.Bkgnd.KeyPress(HY, 118) Delay 1000 //按键F3,误导宠物 Call Plugin.Bkgnd.KeyPress(HY, 114) Delay 2000 //按键F8,BUG仇恨 Call Plugin.Bkgnd.KeyPress(HY, 119) Delay 7500 //按键3,抢过宠物仇恨 Call Plugin.Bkgnd.KeyPress(HY, 51) Delay 1000 //按键6,毒蛇钉刺 Call Plugin.Bkgnd.KeyPress(HY, 54) Delay 1000 //开始输出循环攻击2 Rem gongji2 For 8 Call Plugin.Bkgnd.KeyPress(HY, 192) Delay 200 Next For 2 Call Plugin.Bkgnd.KeyPress(HY, 52) Delay 200 Next IfColor 366,66,"C7",0 Then Goto gongji2 Else End If Delay 2000 //按下A,调整视角 Call Plugin.Bkgnd.KeyDown(HY, 65) Delay 350 //弹起A键 Call Plugin.Bkgnd.KeyUp(HY, 65) Delay 2000 //按下W键,向前走 Call Plugin.Bkgnd.KeyDown(HY, 87) Delay 1950 //弹起W键 Call Plugin.Bkgnd.KeyUp(HY, 87) Delay 1000 //按键F9,使用远程拾取器 Call Plugin.Bkgnd.KeyPress(HY, 120) Delay 1000 //按下S键,回到原来的位置 Call Plugin.Bkgnd.KeyDown(HY, 83) Delay 2950 //弹起S键 Call Plugin.Bkgnd.KeyUp(HY, 83) Delay 1000 //按下D键,调回视角 Call Plugin.Bkgnd.KeyDown(HY, 68) Delay 350 //弹起D键 Call Plugin.Bkgnd.KeyUp(HY, 68) Delay 2000 Goto xunhuan
火源小怪
按键精灵毒蛇山谷