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

ϵͳ.óű()

жϵͼ
.л״̬Ϊ('')
if ϵͳ.ǰͼ('R001') 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 ϵͳ.ǰͼ('0159') then ϵͳ.ת('') end
ϵͳ.ת('ûԶس')

űļ('-ʡس-.txt')


if ϵͳ.ǰͼ('3') then ϵͳ.ת('̻') end
if .ָľ(139,326) < 6 then ϵͳ.ת('غϱԻ') end
.ܵ(143, 329)
غϱԻ
.NPCԻ('ϱ')
.ѡ('ȥ','@back')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('5') then ϵͳ.ת('') end

̻
if .Ʒ('') < 1000000 then ϵͳ.ת('ȥȥ') end
if .Ʒ('') < 100000 then ϵͳ.ת('һ') end
if .Ʒ('һһ') > 2 then ϵͳ.ת('̻') end
.ܵ(322, 328)
.NPCԻ('ħؽ')
.ѡ('̻','@buyYH')
ϵͳ.sleep(1000)
.ѡ('̻','@buy')
ϵͳ.sleep(1000)
.('һһ')
ϵͳ.sleep(1000)
.('һһ', 3)
ϵͳ.sleep(1000)
if .Ʒ('һһ') < 3 then ϵͳ.ת('̻') end

̻
.ܵ(322, 328)
.NPCԻ('ħؽ')
.ѡ('һһ','@enterTM#1')
ϵͳ.sleep(1000)
.ѡ('һһ(ս1)','@enterTMZC#1')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('3') then ϵͳ.ת('̻') end

ħս
.л״̬Ϊ('')
.ߴߵ(36, 67)
.ߴߵ(25, 98)
.ߴߵ(61, 143)
.ߴߵ(144, 149)
.ߴߵ(161, 64)
.ߴߵ(97, 41)
.ߴߵ(97, 103)
.ߴߵ(161, 169)
.ߴߵ(96, 174)
.ߴߵ(48, 149)
.ߴߵ(17, 91)
.ߴߵ(86, 35)
if ϵͳ.ǰͼ('R001') then ϵͳ.ת('ħս') end
ϵͳ.ת('жϵͼ')

ûԶسǣ
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)


ֹͣһ
ϵͳ.ӡ('*********ûнֹͣһ**********')
ϵͳ.ӡ('*********ûнֹͣһ**********')
ϵͳ.ӡ('*********ûнֹͣһ**********')
ϵͳ.д־('*********ûнֹͣһ**********')
ϵͳ.˳Ϸ()
ϵͳ.ת('ֹͣһ')

ȥȥ
.ܵ(322, 328)
.NPCԻ('ϱ')
.ѡ('ȥµ','@move4')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('3') then ϵͳ.ת('ȥȥ') end

ȡ
.ܵ(132, 334)
.NPCԻ('ֿⱣԱ')
.ѡ('һض','@getback')
ϵͳ.sleep(1000)
if .ֿĳƷ('') < 1 then ϵͳ.ת('ֹͣһ') end
.һ('',1)


.ܵ(132, 334)
.NPCԻ('ֿⱣԱ')
.ѡ('־ҩˮ','@mbind')
.ѡ('.','@bartogold')
ϵͳ.sleep(1000)
if .Ʒ('') > 0 then ϵͳ.ת('') end
ϵͳ.ת('')

űļ('-ʡس-.txt')


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

