//没登陆

欢迎您来到凯恩之角,奈非天!

打印 上一主题 下一主题
查看: 1578 - 回复: 5

帖子:13

符文:18

跳转到指定楼层
1#
发表于 2022-9-21 03:12:30 来自凯恩之角App |只看该作者 |倒序浏览 来自:广东
本帖最后由 江湖大稻 于 2022-9-21 03:14 编辑

function OnEvent(event, arg)
    if (event == "MOUSE_BUTTON_PRESSED" and arg == 3 --按下鼠标滚轮开始程序
     ) thena1()
    end
end
function a1()

    local a=0
    local b=0
    local c=0
    local d=0

    while(true)do

   if 2>0 then
      Sleep(100)
      PressAndReleaseMouseButton(1) --每0.2秒点击鼠标左键1次
      Sleep(100)
      if IsMouseButtonPressed(5) then break end--按下鼠标侧键5结束程序
   end
     
a=a+1
   if a>=25 then--【间隔5秒按一次】每5次就1秒,25次就是5秒
    a =0
      PressAndReleaseKey("1")--点击技能1键
      Sleep(100)
      if IsMouseButtonPressed(5) then break end
   end

   b=b+1
   if b>=50 then   --【间隔10秒按一次】
    b =0
      PressAndReleaseKey("2")--点击技能2键
      Sleep(100)
      if IsMouseButtonPressed(5) then break end
   end
c=c+1
   if c>=5 then   --【间隔1秒按一次】
    c =0
      PressAndReleaseKey("3")   --点击技能3键
      Sleep(100)
      if IsMouseButtonPressed(5) then break end
   end
     
   d=d+1
   if d>=100 then   --【间隔20秒按一次】
    d =0
      PressAndReleaseKey("4")   --点击技能4键
      Sleep(100)
      if IsMouseButtonPressed(5) then break end
   end

    end
end


http://bbs.d.163.com/?mod=viewthread&tid=174531896
这个改自这位前辈帖子

帖子:13

符文:18

2#
不知道为什么格式复制进去就错乱
更多图片 小图 大图
组图打开中,请稍候......
发表于 2022-9-21 03:20:41 来自凯恩之角App |只看该作者 来自:广东

帖子:515

符文:13

3#
你猜你会被封号不
发表于 2022-9-21 05:00:40 来自凯恩之角App |只看该作者 来自:四川

帖子:9

符文:48

4#
先保存,等下试试
发表于 2022-9-21 06:35:55 来自凯恩之角App |只看该作者 来自:山东
头像被屏蔽

帖子:3575

符文:505

5#
看不懂。。

不过你把解释删了试试?

就是带有汉字的那些
发表于 2022-9-21 08:51:28 来自凯恩之角App |只看该作者 来自:广东

帖子:88

符文:17

6#
用宏不算挂,凯恩的自欺欺人啧啧
发表于 2022-9-21 20:55:15 来自凯恩之角App |只看该作者 来自:广东
您需要登录后才可以回帖 登录 | 注册网易通行证