七星过高亮数字验证码
图片:
回收部分代码:
发言("@服务")
等待(1500)
等待(2000)
aa=NPC对话内容
astring={"0","0","0","0","0"}
for i=1,5 do
k1=匹配内容(aa,[[(d{1,3}/SCOLOR)]])
k2=匹配内容(k1,[[(d{1,3})]])
if k2~=nil then
astring[i]=k2
end
aa=string.gsub(aa,astring[i],"")
end
passcode=table.concat({astring[1],astring[2],astring[3],astring[4],astring[5]})
passcode=string.gsub(passcode,"0","")
findapi=匹配内容(NPC对话内容,[[(@@InPutStringd{1,3})]])
if findapi~=nil then
api=findapi
else
api=匹配内容(NPC对话内容,[[(@@InPutIntegerd{1,3})]])
end
合成命令(api,passcode)
等待(2000)
aa=NPC对话内容
astring={"0","0","0","0","0"}
for i=1,5 do
k1=匹配内容(aa,[[(d{1,3}/SCOLOR)]])
k2=匹配内容(k1,[[(d{1,3})]])
if k2~=nil then
astring[i]=k2
end
aa=string.gsub(aa,astring[i],"")
end
passcode=table.concat({astring[1],astring[2],astring[3],astring[4],astring[5]})
passcode=string.gsub(passcode,"0","")
findapi=匹配内容(NPC对话内容,[[(@@InPutStringd{1,3})]])
if findapi~=nil then
api=findapi
else
api=匹配内容(NPC对话内容,[[(@@InPutIntegerd{1,3})]])
end
合成命令(api,passcode)
k1=string.find(NPC对话内容,"<请输入>:",1,true)
aa=string.sub(NPC对话内容,k1+9,k1+33)
k3=string.find(aa,"/SC",1,true)
passcode=string.sub(aa,2,k3-1)
findapi=匹配内容(NPC对话内容,[[(@@InPutStringd{1,3})]])
if findapi~=nil then
api=findapi
else
api=匹配内容(NPC对话内容,[[(@@InPutIntegerd{1,3})]])
end
合成命令(api,passcode)
选择("@回收装备")
等待(1500)
选择("@一级装备回收")
选择("@二级装备回收")