/<
function 过验证()
local str=获取NPC对话内容()
if str:match("挂机验证") then
local n=str:match("(%d)/SCOLOR=")
local dx=0
if str:match("@倒序") then dx=1 end
if n then
for n1,cmd in str:gmatch("]+)>") do
if n1:sub(#n1,#n1)==n then
if dx==0 then
选择(cmd)
等待(1000)
end
else
if dx==1 then
选择(cmd)
等待(1000)
end
end
end
选择("@倒序确定验证")
选择("@确定验证")
清空NPC对话内容()
等待(1000)
end
end
end
过验证() -- 回收验证保留此行,删除下面一行
设置用户检测("过验证",2000) -- 脱机验证保留此行,删除上面一行
/>
选择指定数字NPC对话框内容(可以先读取NPC对话内容对比)
<--------------------------挂机验证----------------------/SCOLOR=151>\<请在下列8个数字中选择出全部的/SCOLOR=254>< 5/SCOLOR=253> <确定验证|250#当前验证次数:0/3^253#验证三次不对后,视为验证失败/@确定验证>\ \ \
\ \ \ \ \ \ \ \ \
<--------------------------挂机验证----------------------/SCOLOR=151>\<请在下列8个数字中选择出全部的/SCOLOR=254><不是>< 9/SCOLOR=253> <确定验证|250#当前验证次数:0/3^253#验证三次不对后,视为验证失败/@倒序确定验证>\ \ \
\ \ \ \ \ \ \ \ \
<--------------------------挂机验证----------------------/SCOLOR=151>\<请在下列8个数字中选择出全部的/SCOLOR=254><不是>< 6/SCOLOR=253> <确定验证|250#当前验证次数:0/3^253#验证三次不对后,视为验证失败/@倒序确定验证>\ \ \
\ \ \ \ \ \ \ \ \