/<
function 过验证()
local str = 获取NPC对话框内容()
if str:match("选择正确的答案") then
local ans=str:match("(答案:([^ ]+) )")
if not ans then ans=str:match("(([^ ]+) )") end
if not ans then ans=str:match("%(正确答案提示:([^%)]+)%)") end
ans=ans:gsub("-","")
local cmd=nil
if ans then
cmd=str:match("<[^/]*"..ans.."[^/]*/(@[^>]+)>")
end
if cmd then
选择(cmd)
等待(1500)
end
end
end
过验证() -- 回收验证保留此行,删除下面一行
设置用户检测("过验证",2000) -- 脱机验证保留此行,删除上面一行
/>