霸星辅助B版本过输入小学算法题结果验证码
发布时间:2023-04-20 作者:霸星辅助 文章来源:https://www.baxingfz.com

/<
lastmsg=""
function 过验证()
local str=获取NPC对话内容()
if str:match("[输入答案]") then
if str==lastmsg then return end -- 防止重复过
lastmsg = str
local vc=str:match(">([^=<>]+)=")
local cmd=str:match("/(@@[^>]+)>")
if vc and cmd then
local sf=load("return "..vc)
if sf then
local r=sf()
if not r then r="" end
local content=tostring(r)
if content and #content>0 then
content=content:match("(%d+)") -- 过滤小数点
print("计算结果:"..content)
合成命令(cmd,content)
等待(1500)
end
end
end
end
end
过验证() -- 回收验证保留此行,删除下面一行
设置用户检测("过验证",2000) -- 脱机验证保留此行,删除上面一行
/>
- 上一篇:霸星B版过随机小房间走坐标验证码脚本
下一篇:霸星过脱机室输入密保验证码脚本