|
/<
function 过验证()
local str=获取NPC对话内容()
if str:match("验证") then
local fh=str:match("验证符号:[^>]+>([^\\]+)\\")
if not fh then return end
fh=fh:gsub(" ","")
for i=0,2 do
str=获取NPC对话内容()
local cmd=str:match("<"..fh:sub(i*2+1,i*2+2).."/(@[^>]+)>")
选择(cmd)
等待(1000)
end
cmd=str:match("确定验证/(@[^>]+)>")
if cmd then 选择(cmd) end
清空NPC对话内容()
等待(1000)
end
end
过验证() -- 回收验证保留此行,删除上面一行
设置用户检测("过验证",2000) -- 脱机验证保留此行,删除上面一行。
/>
|
|