网站首页  |  联系我们  |  下载中心  |  English
网站首页 关于剑客 教学资讯 功能展示 最新下载 购买辅助 联系客服 客户留言
栏目导航
剑客教程
剑客资讯
联系我们
地址: 上海市浦东新区
电话: 025-21-85787780
传真: 032-21-85787780
邮箱: tian7xin7@126.com
网址: http://www.wg72.com
您的当前位置:首页 > 剑客资讯
指定删除名字随机验证码脚本范例
发布时间:2018-12-01    文章来源:www.wg72.com    浏览次数:1207

本次带来GEE剑客指定删除名字随机验证码脚本范例:

/<

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
过验证()
/>
友情链接: 七剑辅助 | 天使辅助 | 奇刃辅助 | 盖世辅助 | 明月辅助 | 七剑辅助官方网站 | gee管家官网 | 守望者加速器 | 七剑辅助官网 | gee管家 | gee助手 | gee剑客官网 | 绝顶辅助 | 
地址:上海市浦东新区  电话:025-21-85787780    
CopyRight © 2024 Gee剑客工作室  版权所有  沪ICP备00880066号-2