--------------------------------------------
--һκⶼԷǵĴ
------------ǻһʱ㴦----------
--------------------------------------------

ϵͳ.óű()

жϵͼ
.л״̬Ϊ('')
if ϵͳ.ǰͼ('0157') then ϵͳ.ת('³') end
if ϵͳ.ǰͼ('D501') then ϵͳ.ת('һ') end
if ϵͳ.ǰͼ('D502') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D503') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D504') then ϵͳ.ת('Ĳ') end
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D5071') then ϵͳ.ת('߲') end
if ϵͳ.ǰͼ('') then ϵͳ.ת('') end
.л״̬Ϊ('Ϣ')
if ϵͳ.ǰͼ('5') then ϵͳ.ת('µ') end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('ʡ') end
if ϵͳ.ǰͼ('GA0') then ϵͳ.ת('ׯ԰') end
if ϵͳ.ǰͼ('4') then ϵͳ.ת('ħ') end
if ϵͳ.ǰͼ('2') then ϵͳ.ת('ɽ') end
if ϵͳ.ǰͼ('0') then ϵͳ.ת('س') end
if ϵͳ.ǰͼ('4') then ϵͳ.ת('ħ') end
if ϵͳ.ǰͼ('11') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('0103') then ϵͳ.ת('̵') end
if ϵͳ.ǰͼ('0106') then ϵͳ.ת('װ') end
if ϵͳ.ǰͼ('0105') then ϵͳ.ת('ε') end
ϵͳ.ת('ûԶس')


_ʱ = os.clock()
if ϵͳ.ǰͼ('3') then ϵͳ.ñ('ֱ') end
if ϵͳ.ǰͼ('3') then ϵͳ.ñ('ֱ') end
if .ܱΧ() then ϵͳ.ñ('ʹ') end
if .ܱΧ() then ϵͳ.ñ('ʹ') end
if .('˲Ϣƶ') then ϵͳ.ñ('ʡ귨ʦ˲ƶ') end
if .ָľ(861,175) > 100 then ϵͳ.ñ('ʡʹ') end
.ܵ(861, 175, true)
.߽ŵ㵽ͼ(862,174,'0157',true)
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('3') then ϵͳ.ת('') end

³ȣ
.ܵ(19, 16)
.߽ŵ㵽ͼ(20,15,'D501')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('0157') then ϵͳ.ת('³') end

һ㣺
.л״̬Ϊ('')
.ߴߵ(350, 171)
.߽ŵ㵽ͼ(350,170,'D502')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D501') then ϵͳ.ת('һ') end

㣺
.ߴߵ(113, 232)
.߽ŵ㵽ͼ(112,231,'D503')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D502') then ϵͳ.ת('') end

㣺
.ߴߵ(295, 147)
.߽ŵ㵽ͼ(295,146,'D504')
if ϵͳ.ǰͼ('D503') then ϵͳ.ת('') end

Ĳ㣺
.ߴߵ(52, 174)
.߽ŵ㵽ͼ(51,173,'D505')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D504') then ϵͳ.ת('Ĳ') end

㣺
.ߴߵ(122, 11)
.߽ŵ㵽ͼ(123,10,'')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('') end

:
.ӵ(';')
.ӵ(';')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D5071') then ϵͳ.ת('߲') end
if .ָľ(10,13) < 10000 then ϵͳ.ת('1') end
if .ָľ(36,13) < 10000 then ϵͳ.ת('2') end
if .ָľ(62,13) < 10000 then ϵͳ.ת('3') end
if .ָľ(87,14) < 10000 then ϵͳ.ת('4') end
if .ָľ(10,41) < 10000 then ϵͳ.ת('5') end
if .ָľ(36,41) < 10000 then ϵͳ.ת('6') end
if .ָľ(62,41) < 10000 then ϵͳ.ת('7') end
if .ָľ(88,41) < 10000 then ϵͳ.ת('8') end
if .ָľ(11,74) < 10000 then ϵͳ.ת('9') end
if .ָľ(36,73) < 10000 then ϵͳ.ת('10') end
if .ָľ(62,73) < 10000 then ϵͳ.ת('11') end
if .ָľ(86,73) < 10000 then ϵͳ.ת('12') end

if .ָľ(7,11) < 10000 then ϵͳ.ת('λ1') end
if .ָľ(33,11) < 10000 then ϵͳ.ת('λ2') end
if .ָľ(59,11) < 10000 then ϵͳ.ת('λ3') end
if .ָľ(84,11) < 10000 then ϵͳ.ת('λ4') end
if .ָľ(7,39) < 10000 then ϵͳ.ת('λ5') end
if .ָľ(40,39) < 10000 then ϵͳ.ת('λ6') end
if .ָľ(59,39) < 10000 then ϵͳ.ת('λ7') end
if .ָľ(85,44) < 10000 then ϵͳ.ת('λ8') end
if .ָľ(8,77) < 10000 then ϵͳ.ת('λ9') end
if .ָľ(33,71) < 10000 then ϵͳ.ת('λ10') end
if .ָľ(59,71) < 10000 then ϵͳ.ת('λ11') end
if .ָľ(83,77) < 10000 then ϵͳ.ת('λ12') end

λ1:
.ߴߵ(7, 11)
ϵͳ.ת('')

λ2:
.ߴߵ(33, 11)
ϵͳ.ת('')

λ3:
.ߴߵ(59, 11)
ϵͳ.ת('')

λ4:
.ߴߵ(84, 11)
ϵͳ.ת('')

λ5:
.ߴߵ(7, 39)
ϵͳ.ת('')

λ6:
.ߴߵ(40, 39)
ϵͳ.ת('')

λ7:
.ߴߵ(59, 39)
ϵͳ.ת('')

λ8:
.ߴߵ(85, 44)
ϵͳ.ת('')

λ9:
.ߴߵ(8, 77)
ϵͳ.ת('')

λ10:
.ߴߵ(33, 71)
ϵͳ.ת('')

λ11:
.ߴߵ(59, 71)
ϵͳ.ת('')

λ12:
.ߴߵ(83, 77)
ϵͳ.ת('')

1:
.ߴߵ(7, 11)
if .ָľ(7,10) >= 100000 then ϵͳ.ת('·2') end
.ܵ(7, 10)
ϵͳ.ת('·2')

2:
.ߴߵ(33, 11)
if .ָľ(33,10) >= 100000 then ϵͳ.ת('·2') end
.ܵ(33, 10)
ϵͳ.ת('·2')

3:
.ߴߵ(59, 11)
if .ָľ(59,10) >= 100000 then ϵͳ.ת('·2') end
.ܵ(59, 10)
ϵͳ.ת('·2')

4:
.ߴߵ(84, 11)
if .ָľ(84,10) >= 100000 then ϵͳ.ת('·2') end
.ܵ(84, 10)
ϵͳ.ת('·2')

5:
.ߴߵ(7, 39)
if .ָľ(7,38) >= 100000 then ϵͳ.ת('·2') end
.ܵ(7, 38)
ϵͳ.ת('·2')

6:
.ߴߵ(40, 39)
if .ָľ(40,38) >= 100000 then ϵͳ.ת('·2') end
.ܵ(40, 38)
ϵͳ.ת('·2')

7:
.ߴߵ(59, 39)
if .ָľ(59,38) >= 100000 then ϵͳ.ת('·2') end
.ܵ(59, 38)
ϵͳ.ת('·2')

8:
.ߴߵ(85, 44)
if .ָľ(85,45) >= 100000 then ϵͳ.ת('·2') end
.ܵ(85, 45)
ϵͳ.ת('·2')

9:
.ߴߵ(8, 77)
if .ָľ(8,78) >= 100000 then ϵͳ.ת('·2') end
.ܵ(8, 78)
ϵͳ.ת('·2')

10:
.ߴߵ(33, 71)
if .ָľ(33,70) >= 100000 then ϵͳ.ת('·2') end
.ܵ(33, 70)
ϵͳ.ת('·2')

11:
.ߴߵ(59, 71)
if .ָľ(59,70) >= 100000 then ϵͳ.ת('·2') end
.ܵ(59, 70)
ϵͳ.ת('·2')

12:
.ߴߵ(83, 77)
if .ָľ(83,78) >= 100000 then ϵͳ.ת('·2') end
.ܵ(83, 78)
ϵͳ.ת('·2')


·2:
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D5071') then ϵͳ.ת('߲') end
if .ָľ(10,13) < 10000 then ϵͳ.ת('11') end
if .ָľ(36,13) < 10000 then ϵͳ.ת('21') end
if .ָľ(62,13) < 10000 then ϵͳ.ת('31') end
if .ָľ(87,14) < 10000 then ϵͳ.ת('41') end
if .ָľ(10,41) < 10000 then ϵͳ.ת('51') end
if .ָľ(36,41) < 10000 then ϵͳ.ת('61') end
if .ָľ(62,41) < 10000 then ϵͳ.ת('71') end
if .ָľ(88,41) < 10000 then ϵͳ.ת('81') end
if .ָľ(11,74) < 10000 then ϵͳ.ת('91') end
if .ָľ(36,73) < 10000 then ϵͳ.ת('101') end
if .ָľ(62,73) < 10000 then ϵͳ.ת('111') end
if .ָľ(86,73) < 10000 then ϵͳ.ת('121') end

11:
.ߴߵ(7, 11)
if .ָľ(7,10) >= 100000 then ϵͳ.ת('·3') end
.ܵ(7, 10)
ϵͳ.ת('·3')

21:
.ߴߵ(33, 11)
if .ָľ(33,10) >= 100000 then ϵͳ.ת('·3') end
.ܵ(33, 10)
ϵͳ.ת('·3')

31:
.ߴߵ(59, 11)
if .ָľ(59,10) >= 100000 then ϵͳ.ת('·3') end
.ܵ(59, 10)
ϵͳ.ת('·3')

41:
.ߴߵ(84, 11)
if .ָľ(84,10) >= 100000 then ϵͳ.ת('·3') end
.ܵ(84, 10)
ϵͳ.ת('·3')

51:
.ߴߵ(7, 39)
if .ָľ(7,38) >= 100000 then ϵͳ.ת('·3') end
.ܵ(7, 38)
ϵͳ.ת('·3')

61:
.ߴߵ(40, 39)
if .ָľ(40,38) >= 100000 then ϵͳ.ת('·3') end
.ܵ(40, 38)
ϵͳ.ת('·3')

71:
.ߴߵ(59, 39)
if .ָľ(59,38) >= 100000 then ϵͳ.ת('·3') end
.ܵ(59, 38)
ϵͳ.ת('·2')

81:
.ߴߵ(85, 39)
if .ָľ(85,38) >= 100000 then ϵͳ.ת('·3') end
.ܵ(85, 38)
ϵͳ.ת('·3')

91:
.ߴߵ(14, 77)
if .ָľ(15,77) >= 100000 then ϵͳ.ת('·3') end
.ܵ(15, 77)
ϵͳ.ת('·3')

101:
.ߴߵ(33, 71)
if .ָľ(33,70) >= 100000 then ϵͳ.ת('·3') end
.ܵ(33, 70)
ϵͳ.ת('·3')

111:
.ߴߵ(59, 71)
if .ָľ(59,70) >= 100000 then ϵͳ.ת('·3') end
.ܵ(59, 70)
ϵͳ.ת('·3')

121:
.ߴߵ(89, 76)
if .ָľ(90,76) >= 100000 then ϵͳ.ת('·3') end
.ܵ(90, 76)
ϵͳ.ת('·3')

·3:
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D5071') then ϵͳ.ת('߲') end
if .ָľ(10,13) < 10000 then ϵͳ.ת('12') end
if .ָľ(36,13) < 10000 then ϵͳ.ת('22') end
if .ָľ(62,13) < 10000 then ϵͳ.ת('32') end
if .ָľ(87,14) < 10000 then ϵͳ.ת('42') end
if .ָľ(10,41) < 10000 then ϵͳ.ת('52') end
if .ָľ(36,41) < 10000 then ϵͳ.ת('62') end
if .ָľ(62,41) < 10000 then ϵͳ.ת('72') end
if .ָľ(88,41) < 10000 then ϵͳ.ת('82') end
if .ָľ(11,74) < 10000 then ϵͳ.ת('92') end
if .ָľ(36,73) < 10000 then ϵͳ.ת('102') end
if .ָľ(62,73) < 10000 then ϵͳ.ת('112') end
if .ָľ(86,73) < 10000 then ϵͳ.ת('122') end

12:
.ߴߵ(7, 11)
if .ָľ(7,10) >= 100000 then ϵͳ.ת('') end
.ܵ(7, 10)
ϵͳ.ת('')

22:
.ߴߵ(33, 11)
if .ָľ(33,10) >= 100000 then ϵͳ.ת('') end
.ܵ(33, 10)
ϵͳ.ת('')

32:
.ߴߵ(59, 11)
if .ָľ(59,10) >= 100000 then ϵͳ.ת('') end
.ܵ(59, 10)
ϵͳ.ת('')

42:
.ߴߵ(84, 11)
if .ָľ(84,10) >= 100000 then ϵͳ.ת('') end
.ܵ(84, 10)
ϵͳ.ת('')

52:
.ߴߵ(7, 39)
if .ָľ(7,38) >= 100000 then ϵͳ.ת('') end
.ܵ(7, 38)
ϵͳ.ת('')

62:
.ߴߵ(33, 44)
if .ָľ(33,45) >= 100000 then ϵͳ.ת('') end
.ܵ(33, 45)
ϵͳ.ת('')

72:
.ߴߵ(59, 39)
if .ָľ(59,38) >= 100000 then ϵͳ.ת('') end
.ܵ(59, 38)
ϵͳ.ת('')

82:
.ߴߵ(85, 39)
if .ָľ(85,38) >= 100000 then ϵͳ.ת('') end
.ܵ(85, 38)
ϵͳ.ת('')

92:
.ߴߵ(8, 77)
if .ָľ(8,78) >= 100000 then ϵͳ.ת('') end
.ܵ(8, 78)
ϵͳ.ת('')

102:
.ߴߵ(33, 71)
if .ָľ(33,70) >= 100000 then ϵͳ.ת('') end
.ܵ(33, 70)
ϵͳ.ת('')

112:
.ߴߵ(59, 71)
if .ָľ(59,70) >= 100000 then ϵͳ.ת('') end
.ܵ(59, 70)
ϵͳ.ת('')

122:
.ߴߵ(83, 77)
if .ָľ(83,78) >= 100000 then ϵͳ.ת('') end
.ܵ(83, 78)
ϵͳ.ת('')

߲
.л״̬Ϊ('')
.ܵ(7, 10, true)
.߽ŵ㵽ͼ(7,9,'')
ϵͳ.sleep(1000)
ϵͳ.ת('жϵͼ')

ûԶس:
if ϵͳ.ǰͼ('3') then ϵͳ.ñ('ֱ') end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('жϵͼ') end
if .Ʒ('سǾ*') > 0 then ϵͳ.ת('ʹûسǾ') end
if .Ʒ('Ѿ') < 1 then ϵͳ.ת('߻ز') end
.ʹƷ('Ѿ')
ϵͳ.sleep(1000)
ϵͳ.ת('жϵͼ')

ʹûسǾ:
if .Ʒ('سǾ') < 1 then ϵͳ.ñ('سǾ') end
.ʹƷ('سǾ')
ϵͳ.sleep(1000)
ϵͳ.ת('жϵͼ')

سǾ
.ʹƷ('سǾ')
ϵͳ.sleep(1000)


߻ز£
if ϵͳ.ǰͼ('') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('0157') then ϵͳ.ת('³߻') end
if ϵͳ.ǰͼ('D501') then ϵͳ.ת('һ߻') end
if ϵͳ.ǰͼ('D502') then ϵͳ.ת('߻') end
if ϵͳ.ǰͼ('D503') then ϵͳ.ת('߻') end
if ϵͳ.ǰͼ('D504') then ϵͳ.ת('Ĳ߻') end
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('߻') end

߻أ
.ܵ(96, 101)
.߽ŵ㵽ͼ(95,102,'D504')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('߻') end

Ĳ߻أ
.ܵ(166, 216)
.߽ŵ㵽ͼ(165,217,'D503')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D504') then ϵͳ.ת('Ĳ߻') end

߻أ
.ܵ(166, 216)
.߽ŵ㵽ͼ(165,217,'D502')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D503') then ϵͳ.ת('߻') end

߻أ
.ܵ(166, 216)
.߽ŵ㵽ͼ(165,217,'D501')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D502') then ϵͳ.ת('߻') end

һ߻أ
.ܵ(166, 216)
.߽ŵ㵽ͼ(165,217,'0157')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D501') then ϵͳ.ת('һ߻') end

³߻أ
.ܵ(9, 26)
.߽ŵ㵽ͼ(9,27,'3')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('0157') then ϵͳ.ת('³߻') end
ϵͳ.ת('жϵͼ')

űļ('-ʡֱɱ.txt')


if ϵͳ.ǰͼ('5') then ϵͳ.ת('жϵͼ') ϵͳ.д־('ǰͼ5תûԶس') ϵͳ.ӡ('ǰͼ5תûԶس') return true end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('жϵͼ') ϵͳ.д־('ǰͼ3תûԶس') ϵͳ.ӡ('ǰͼ3תûԶس') return true end
if ϵͳ.ǰͼ('0') then ϵͳ.ת('жϵͼ') ϵͳ.д־('ǰͼ0תûԶس') ϵͳ.ӡ('ǰͼ0תûԶس') return true end

