梦幻精灵挤新区怎么用?

来源:百度知道 编辑:UC知道 时间:2024/05/09 19:37:45
梦幻精灵怎么编一个可以用于挤新区用的脚本?

先用这个网址下载按键精灵 放心 保证无毒http://www.skycn.com/soft/6854.html

打开按键精灵以后要自己建新的脚本
脚本不会编没关系 下面就是的 你直接贴进去就行 记住是源文件里粘贴!

VBSCall MessageBox("请使用窗口模式!")
VBSCall F=InputBox("输入你的梦幻路径")
VBSCall MessageBox("请点确定后把鼠标移动到你挤的区的位置然后按任意键继续 ")
WaitKey
VBSCall GetCursorPos(x0,y0)
Rem 1
Plugin A=Window.Find("WSGAME","梦幻西游ONLINE")
Plugin Window.Active(A)
Plugin s = Window.GetClientRect(A)
MyArray = Split(s, "|", -1, 1)
x1=MyArray(0)
y1=MyArray(1)
x3=x0-x1
y3=y0-y1
Rem 2
If a<>0
MoveTo x1+x3,y1+y3
LeftClick 1
Delay 800
Rem 3
IfColor 397+x1,235+y1,f8fcf8,0
Delay 200
IfColor 277+x1,290+y1,20bce0,2
Goto 3
Else
Goto 4
EndIf
Else
MoveTo x1+356,y1+307
LeftClick 1