使用物品("*回收宝箱")
等待(1000)
passcode=数字验证码识别(NPC对话内容,3,5)
--输出信息(passcode)
等待(500)
选择("@yzjc01")
等待(2000)
aa=NPC对话内容
aa=string.gsub(aa,"Img:4408:0:","A0B")
aa=string.gsub(aa,"Img:4409:0:","A1B")
aa=string.gsub(aa,"Img:4410:0:","A2B")
aa=string.gsub(aa,"Img:4411:0:","A3B")
aa=string.gsub(aa,"Img:4412:0:","A4B")
aa=string.gsub(aa,"Img:4413:0:","A5B")
aa=string.gsub(aa,"Img:4414:0:","A6B")
aa=string.gsub(aa,"Img:4415:0:","A7B")
aa=string.gsub(aa,"Img:4416:0:","A8B")
aa=string.gsub(aa,"Img:4417:0:","A9B")
--输出信息(aa)
kks={}
kks[0]="@CNM"
kks[1]="@CNN"
kks[2]="@CNJ"
kks[3]="@CNY"
kks[4]="@CNB"
kks[5]="@CND"
kks[6]="@CNS"
kks[7]="@CNDY"
kks[8]="@CNEDY"
kks[9]="@CNSDY"
for i=1,4 do
ppp=string.sub(passcode,i,i)
if ppp~=nil then
--输出信息(ppp)
ppp=tonumber(ppp)
pass1=kks[ppp]
选择(pass1)
--等待(600)
--输出信息(passcode)
end
end
选择("@queding")
--输出信息(aa)