/<
function 过验证1()
lastmsg=""
function 过验证()
local str=获取NPC对话内容()
if lastmsg==str then return end
lastmsg=str
if str:match("上面没有的图") then
local str1=str:match("(
![多验证码如何设置脚本 多验证码如何设置脚本]()
local str2=str:match("没有的图(.+)")
for id,cmd in str2:gmatch("
![多验证码如何设置脚本 多验证码如何设置脚本]()
]+)>") do
if not str1:match("Img:"..id..":") then
选择(cmd)
等待(1500)
break
end
end
end
end
end
function 过验证2()
lastmsg=""
function 过验证()
-- 199:公鸡 200:乌龟 201:毛驴 202:坦克 203:手机 204:电脑 205:椅子
-- 206:鲨鱼 207:飞机 208:轮船 209:汽车 210:火车
local str=获取NPC对话内容()
if str:match("对应上图内容") then
local t={"公鸡","乌龟","毛驴","坦克","手机","电脑","椅子","鲨鱼","飞机","轮船","汽车","火车"}
local iid=str:match("
![多验证码如何设置脚本 多验证码如何设置脚本]()
if iid and iid~="0" then
local i = tonumber(iid) - 198
if i>0 and i<13 then
local cmd=str:match(t[i].."/(@[^>]+)>")
if cmd then
选择(cmd)
等待(1500)
end
end
end
end
end
end
function 过验证3()
--..
end
function 过验证()
过验证1()
过验证2()
过验证3()
--..
end
过验证() -- 回收验证保留此行,删除下面一行
设置用户检测("过验证",2000) -- 脱机验证保留此行,删除上面一行
/>