[请问] 按精脚本编写

楼主: alberchi (RELAX)   2013-09-23 12:34:33
各位前辈大安
小弟为了玩游戏,写了个脚本,
主要是遇到不同图有不同鼠标反应
但是觉得速度不满意,
(因为有其他玩家写出来的脚本,竟然比用手点还快.....百思不得其解...)
所以想请教一下我的脚本部分是否可以修正,如下
(sorry,排版有点跑掉,可以看前面就好,主要就是else, if一直用下去)
感恩
i=1
While i=1
IfColor 927,698,"11AA",2 Then
MoveTo 927, 698
LeftClick 1
Else
IfColor 784, 467, "44AF", 0 Then
MoveTo 771, 693
LeftClick 1
Else
IfColor 1047,374,"667777",0 Then
MoveTo 1093, 695
LeftClick 1
Else
IfColor 891,462,"786C1",2 Then
LeftClick 1
Else
IfColor 705,688,"32",0 Then
MoveTo 705, 688
LeftClick 1
Else
IfColor 714,456,"2E77BB",0 Then
Delay 50
MoveTo 1132, 564
Delay 50
LeftClick 1
Else
IfColor 814,572,"66A8",0 Then
MoveTo 814, 572
LeftClick 1
Else
IfColor 1028,178,"11AAEE",0 Then
MoveTo 1093, 695
LeftClick 1
Else
IfColor 1008,414,"D376D",0 Then
Delay 50
LeftClick 1
Else
IfColor 715,472,"CCB122",0 Then
MoveTo 1127, 565
Delay 50
LeftClick 1
Delay 1000
MoveTo 1073, 809
Delay 500
LeftClick 1
Else
IfColor 907,453,"323D76",0 Then
Delay 50
LeftClick 1
Else
IfColor 1199,405,"B0EDFF",0 Then
MoveTo 1199, 405
Delay 50
LeftClick 1
Else
IfColor 885,490,"AA70A3",0 Then
MoveTo 771, 693
LeftClick 1
Else
IfColor 860,193,"1335E9",0 Then
Delay 50
LeftClick 1
Else
IfColor 933,323,"E00B6",0 Then
Delay 50
LeftClick 1
Else
IfColor 979,463,"A0DA0",0 Then
LeftClick 1
Else
IfColor 712,341,"1DAFFF",0 Then
LeftClick 1
Else
IfColor 1151,151,"65A9",0 Then
MoveTo 1151, 151
LeftClick 1
Else
IfColor 1207,300,"B0EDFF",0 Then
MoveTo 1207, 300
LeftClick 1
Else
IfColor 1063,151,"2BFFD",0 Then
MoveTo 1063, 151
Delay 50
LeftClick 1
Else
IfColor 1114,163,"8FC8E3",0 Then
MoveTo 1893, 6
LeftClick 1
Else
IfColor 902,692,"ADCCFF",0 Then
MoveTo 902, 692
Delay 500
LeftClick 1
Else
IfColor 922,794,"66AA",0 Then
MoveTo 922, 794
Delay 500
LeftClick 1
Delay 3000
Else
IfColor 852,959,"FCB72A",0 Then
MoveTo 723, 328
Delay 1000
LeftClick 1
Delay 10000
Else
IfColor 1231,543,"73909",0 Then
MoveTo 1231, 543
LeftDown 1
Delay 1000
MoveR 0, -300
LeftUp 1
Delay 1000
Else
IfColor 853,301,"CFD7DB",0 Then
MoveTo 853, 301
Delay 1000
LeftClick 1
Delay 5000
Else
IfColor 437,438,"471454",0 Then
MoveTo 1089, 128
LeftClick 1
Else
IfColor 1015,549,"10C887",0 Then
MoveTo 1152, 572
Delay 50
LeftClick 1
Else
IfColor 928,477,"88555B",0 Then
MoveTo 928, 477
LeftClick 1
Else
IfColor 962,458,"131339",0 Then
MoveTo 962, 458
LeftClick 1
Else
IfColor 907,464,"D6AA22",2 Then
MoveTo 907, 464
LeftClick 1
Else
IfColor 985,477,"949888",0 Then
Delay 1000
MoveTo 1893, 8
LeftClick 1
Else
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
Wend
作者: fossil313 (阵雨)   2013-09-23 20:55:00
真是惊人的End If XD
楼主: alberchi (RELAX)   2013-09-23 23:13:00
请问大大我该怎么写瘦身语句 @@
作者: fossil313 (阵雨)   2013-09-24 09:05:00
呃 我没用过按键精灵...sorry

Links booklink

Contact Us: admin [ a t ] ucptt.com