当前位置:首页>验证码大全

七星辅助过数学题成语类验证码

发布时间:2014年08月09日22:53

数学题成语类验证码

图片:

验证码代码:

等待(2500)
k1=string.find(提示框内容,"请在对话框内选择",1,true)
suzi1=匹配内容(提示框内容,[[(d)]])
suzik1=string.find(提示框内容,suzi1,1,true)
bb=string.sub(提示框内容,suzik1,suzik1+5)
--输出信息(bb)
bb1=string.sub(bb,1,2)
bb2=string.sub(bb,4,5)
bbff=string.sub(bb,3,3)

if bbff=="+" then
bbd=bb1+bb2
end

if bbff=="-" then
bbd=bb1-bb2
end
--输出信息(bb1)
--输出信息(bb2)
--输出信息(bbd)
--输出信息(bbff)
--输出信息(string.len(bbd))

if bbd==10 then
bbzhongwen1="十" 

biao=string.find(NPC对话内容,"@[",1,true)
biao1=string.sub(NPC对话内容,biao+0,biao+21)
--输出信息(biao1)
biao2=string.sub(NPC对话内容,biao+25,biao+49)
--输出信息(biao2)
biao3=string.sub(NPC对话内容,biao+50,biao+82)
--输出信息(biao3)

 

if string.find(biao1,bbzhongwen1,1,true)~=nil then

dd1=string.find(biao1,"@",1,true)
dd2=string.find(biao1,">",1,true)
dd=string.sub(biao1,dd1,dd2-1)
--输出信息(dd)
选择(dd)

end

if string.find(biao2,bbzhongwen1,1,true)~=nil then

dd1=string.find(biao2,"@",1,true)
dd2=string.find(biao2,">",1,true)
dd=string.sub(biao2,dd1,dd2-1)
--输出信息(dd)
选择(dd)

end

if string.find(biao3,bbzhongwen1,1,true)~=nil then

dd1=string.find(biao3,"@",1,true)
dd2=string.find(biao3,">",1,true)
dd=string.sub(biao3,dd1,dd2-1)
--输出信息(dd)
选择(dd)

end

end

 

 

 

bbstr={}
if bbd>10 then


bbstr[1]=string.sub(bbd,1,1)
bbstr[2]=string.sub(bbd,2,2)

--输出信息(bbstr[1])
--输出信息(bbstr[2])

 

if bbstr[1]=="1" then
bbzhongwen1="一"
end

if bbstr[1]=="2" then
bbzhongwen1="二"
end
if bbstr[1]=="3" then
bbzhongwen1="三"
end
if bbstr[1]=="4" then
bbzhongwen1="四"
end
if bbstr[1]=="5" then
bbzhongwen1="五"
end
if bbstr[1]=="6" then
bbzhongwen1="六"
end
if bbstr[1]=="7" then
bbzhongwen1="七"
end
if bbstr[1]=="8" then
bbzhongwen1="八"
end
if bbstr[1]=="9" then
bbzhongwen1="九"
end
--输出信息(bbzhongwen1)

if bbstr[2]=="0" then
bbzhongwen2="十"
end


if bbstr[2]=="1" then
bbzhongwen2="一"
end

if bbstr[2]=="2" then
bbzhongwen2="二"
end
if bbstr[2]=="3" then
bbzhongwen2="三"
end
if bbstr[2]=="4" then
bbzhongwen2="四"
end
if bbstr[2]=="5" then
bbzhongwen2="五"
end
if bbstr[2]=="6" then
bbzhongwen2="六"
end
if bbstr[2]=="7" then
bbzhongwen2="七"
end
if bbstr[2]=="8" then
bbzhongwen2="八"
end
if bbstr[2]=="9" then
bbzhongwen2="九"
end
--输出信息(bbzhongwen2)

 

biao=string.find(NPC对话内容,"@[",1,true)
biao1=string.sub(NPC对话内容,biao+0,biao+21)
--输出信息(biao1)
biao2=string.sub(NPC对话内容,biao+25,biao+49)
--输出信息(biao2)
biao3=string.sub(NPC对话内容,biao+50,biao+82)
--输出信息(biao3)


if bbzhongwen1~=bbzhongwen2 then
if string.find(biao1,bbzhongwen1,1,true)~=nil then
if string.find(biao1,bbzhongwen2,1,true)~=nil then
dd1=string.find(biao1,"@",1,true)
dd2=string.find(biao1,">",1,true)
dd=string.sub(biao1,dd1,dd2-1)
--输出信息(dd)
选择(dd)
end
end


if string.find(biao2,bbzhongwen1,1,true)~=nil then


if string.find(biao2,bbzhongwen2,1,true)~=nil then
dd1=string.find(biao2,"@",1,true)
dd2=string.find(biao2,">",1,true)
dd=string.sub(biao2,dd1,dd2-1)
--输出信息(dd)
选择(dd)
end
end


if string.find(biao3,bbzhongwen1,1,true)~=nil then


if string.find(biao3,bbzhongwen2,1,true)~=nil then
dd1=string.find(biao3,"@",1,true)
dd2=string.find(biao3,">",1,true)
dd=string.sub(biao3,dd1,dd2-1)
--输出信息(dd)
选择(dd)
end
end
end

if bbzhongwen1==bbzhongwen2 then
bbpass=table.concat{bbzhongwen1,"十",bbzhongwen2}
if string.find(biao1,bbpass,1,true)~=nil then
dd1=string.find(biao1,"@",1,true)
dd2=string.find(biao1,">",1,true)
dd=string.sub(biao1,dd1,dd2-1)
--输出信息(dd)
选择(dd)
end


if string.find(biao2,bbpass,1,true)~=nil then
dd1=string.find(biao2,"@",1,true)
dd2=string.find(biao2,">",1,true)
dd=string.sub(biao2,dd1,dd2-1)
--输出信息(dd)
选择(dd)
end


if string.find(biao3,bbpass,1,true)~=nil then
dd1=string.find(biao3,"@",1,true)
dd2=string.find(biao3,">",1,true)
dd=string.sub(biao3,dd1,dd2-1)
--输出信息(dd)
选择(dd)
end
end

end

if bbd<10 then


bbstr[1]=string.sub(bbd,1,1)

 


if bbstr[1]=="1" then
bbzhongwen1="一"
end

if bbstr[1]=="2" then
bbzhongwen1="二"
end
if bbstr[1]=="3" then
bbzhongwen1="三"
end
if bbstr[1]=="4" then
bbzhongwen1="四"
end
if bbstr[1]=="5" then
bbzhongwen1="五"
end
if bbstr[1]=="6" then
bbzhongwen1="六"
end
if bbstr[1]=="7" then
bbzhongwen1="七"
end
if bbstr[1]=="8" then
bbzhongwen1="八"
end
if bbstr[1]=="9" then
bbzhongwen1="九"
end
--输出信息(bbzhongwen1)

 

 

biao=string.find(NPC对话内容,"@[",1,true)
biao1=string.sub(NPC对话内容,biao+0,biao+21)
--输出信息(biao1)
biao2=string.sub(NPC对话内容,biao+25,biao+49)
--输出信息(biao2)
biao3=string.sub(NPC对话内容,biao+50,biao+82)
输出信息(biao3)

 

if string.find(biao1,bbzhongwen1,1,true)~=nil then
dd1=string.find(biao1,"@",1,true)
dd2=string.find(biao1,">",1,true)
dd=string.sub(biao1,dd1,dd2-1)
--输出信息(dd)
选择(dd)
end


if string.find(biao2,bbzhongwen1,1,true)~=nil then
dd1=string.find(biao2,"@",1,true)
dd2=string.find(biao2,">",1,true)
dd=string.sub(biao2,dd1,dd2-1)
--输出信息(dd)
选择(dd)
end


if string.find(biao3,bbzhongwen1,1,true)~=nil then
dd1=string.find(biao3,"@",1,true)
dd2=string.find(biao3,">",1,true)
dd=string.sub(biao3,dd1,dd2-1)
--输出信息(dd)
选择(dd)
end
end

 

最后修改时间: 2020年06月01日00:00