• WAP手机版 RSS订阅 加入收藏  设为首页
挂机验证码

传奇脱机输入要删除的名字验证码

时间:2022/12/12 18:16:21   作者:本站   来源:www.92cqg.com   阅读:61   评论:0
内容摘要:传奇脱机输入要删除的名字验证码:/<function过验证()locala=获取NPC对话框内容()localpos=0localtype=0localcontent=""ifstring.find(a,"输入要删除的名字")~=NULLthen_,_,code=string.find(a,"验证码为:([0-9...

传奇脱机输入要删除的名字验证码:

传奇脱机输入要删除的名字验证码

/<
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={"一","二","三","四"}
    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
过验证()
/>


文章出处:传奇守护者官网

传奇pk脱机交流qq群:67838282

官方网站:http://www.92cqg.com

本站内容均来自网络如有侵犯请告知,第一时间删除

相关评论

CopyRight 传奇守护者官网 2012-2023 www.92cqg.com All Rights Reserved

本站软件仅供单服测试学习之用,勿用于非法用途,如有侵权请告知删除,速记本站:就爱传奇挂(92cqg.com)