最新汉字加法验证码
图片
验证码代码:
发言("@服务")
等待(1500)
aa=NPC对话内容
k1=string.find(aa,"问题:",1,true)
as=string.sub(aa,k1+2,k1+25)
as=string.gsub(as,"0","0")
as=string.gsub(as,"1","1")
as=string.gsub(as,"2","2")
as=string.gsub(as,"3","3")
as=string.gsub(as,"4","4")
as=string.gsub(as,"5","5")
as=string.gsub(as,"6","6")
as=string.gsub(as,"7","7")
as=string.gsub(as,"8","8")
as=string.gsub(as,"9","9")
as1=匹配内容(as,[[(d{1,3})]])
if as1~=nil then
as=string.gsub(as,as1,"",1)
end
as2=匹配内容(as,[[(d{1,3})]])
kx=string.find(as,"乘以",1,true)
if kx~=nil then
passcode=as1*as2
end
kx=string.find(as,"除以",1,true)
if kx~=nil then
passcode=as1/as2
end
kx=string.find(as,"加上",1,true)
if kx~=nil then
passcode=as1+as2
end
kx=string.find(as,"减去",1,true)
if kx~=nil then
passcode=as1-as2
end
if passcode~=nil then
findapi=匹配内容(NPC对话内容,[[(@@InPutStringd{1,3})]])
if findapi~=nil then
api=findapi
else
api=匹配内容(NPC对话内容,[[(@@InPutIntegerd{1,3})]])
end
合成命令(api,passcode)
end
选择("回收装备")
等待(1500)
选择("一级装备回收")