简单辅助过删除指定位置字符验证

2021-12-28 18:48:23 作者:

简单辅助_简单挂免费版|传奇单职业辅助_ >> 网站导航 >> 正文


下图,删除指定位置字符,简单辅助已经可以过了:用户替换代码即可!

/<
function 过验证()
  local a=获取NPC对话框内容()
  local pos=0
  local type=0
  local content=""
  if string.find(a,"输入要删除的名字")~=NULL then
    _,_,code=string.find(a,"验证码为:([0-9a-zA-Z]+)")
    _,_,ii=string.find(a,"扣除第(..)位")
    if ii==NULL then
      _,_,ii=string.find(a,"的后(..)位")
      type=1
    end
    if code==NULL or ii==NULL then return end
    local s={www"一","二","三","四"}
    for k,v in ipairs(s) do
      if v==ii then
        pos=k
        break
      end
    end
    if pos==0 then return end
if type==1 then
    content=string.sub(code,#code-pos+1,#code)
else
    for i=1,#code,1 do
      if i~=pos then
        content=content..string.sub(code,i,i)
      end
    end
end
    _,_,cmd=string.find(a,"/(@@Input%a+%d+)")
    if content~="" and cmd~="" then
      合成命令(cmd,content)
      print("输入验证码:"..content)
    end
  end
end
过验证()
/>
以上内容 简单挂官网原创:www.a1904.com 转载请注明来源!