你好,欢迎来到霸星辅助官方网站!
你的位置:主页 > 相关资讯 >

B版本过按顺序选择对应编号脱机验证码

发布时间:2023-04-12  作者:霸星辅助 文章来源:https://www.baxingfz.com
按顺序选择对应编号


/<
lastmsg=""
function 过验证()
  ::A::
  local str=获取NPC对话内容()
  if lastmsg==str then return end 
  lastmsg=str
  if str:match("按顺序点击") then
    local w=nil
    for v in str:gmatch("【/SCOLOR=%d+>([^%?][^%?])<】") do
      w = v
    end
    if not w then return end
    local i=0
    local content=nil
    local t={"A","B","C","D","E"}
    for v in str:gmatch("<|/SCOLOR=%d+>([^<]+)<│/SCOLOR=%d+> <[^/]+/@") do
      i=i+1
      if v:match(w) then 
        v=v:gsub(" ","")
        v=v:gsub(" ","")
        local s=v:find(w)
        content=tostring((s+1)/2)
        content=content:match("(%d+)")
        content=t[i]..content
        break
      end
    end
    if content then 
      local cmd=str:match(content.."/(@[^>]+)>")
      if cmd then 
        选择(cmd)
        等待(1500)
        goto A
      end
    end
  end
end
过验证()  -- 回收保留此行,删除下面一行
设置用户检测("过验证",1500) -- 脱机验证保留此行,删除上面一行。
/>