
/<
function 过验证()
local tab={
{"加","+"},{"减","-"},{"乘","*"},{"除","/"},
{"+","+"},{"—","-"},{"×","*"},{"÷","/"},
{"[","("},{"]",")"},{"【","("},{"】",")"},
{"{","("},{"}",")"},{"<","("},{">",")"},
}
local function maskstr(str)
for k,v in ipairs(tab) do
if v[1]==str then return v[2] end
end
return str
end
local str=获取NPC对话内容()
if str:match("验证问题") then
local cmd=str:match("/(@[^>]+)>")
local str2=maskstr(str)
local bds=str2:match("([%d%+%-%*%/]+)=")
if not bds then return end
local sf=load("return "..bds)
if sf and cmd then
local r=sf()
if not r then r="" end
local content=tostring(r)
if content and #content>0 then
content=content:match("(%d+)")
合成命令(cmd,content)
清空NPC对话内容()
等待(1000)
end
end
end
end
过验证() -- 秒杀辅助过回收验证保留此行,删除下面一行
设置用户检测("过验证",2000) -- 脱机验证保留此行,删除上面一行
/>