Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

LiquidBounce Forum

  1. Home
  2. ScriptAPI
  3. Script support.

Script support.

Scheduled Pinned Locked Moved ScriptAPI
13 Posts 4 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • skiddermaster412S skiddermaster412

    @gridzz 6f8ded5e-73ee-486a-a4fe-cd8e45715bb5-image.png

    GridzzG Offline
    GridzzG Offline
    Gridzz
    wrote on last edited by
    #4

    @skiddermaster412 Removed it but it's still not showing up. ;(

    1 Reply Last reply
    0
    • DreamWasFuckedD DreamWasFucked

      6.png

      GridzzG Offline
      GridzzG Offline
      Gridzz
      wrote on last edited by
      #5

      @auto-reply-bot said in Script support.:

      6.png

      Ok instead of quoting this can you send me an alternative?

      DreamWasFuckedD 1 Reply Last reply
      0
      • GridzzG Gridzz

        @auto-reply-bot said in Script support.:

        6.png

        Ok instead of quoting this can you send me an alternative?

        DreamWasFuckedD Offline
        DreamWasFuckedD Offline
        DreamWasFucked
        wrote on last edited by
        #6

        import InputEvent, Robot

        GridzzG 1 Reply Last reply
        0
        • DreamWasFuckedD DreamWasFucked

          import InputEvent, Robot

          GridzzG Offline
          GridzzG Offline
          Gridzz
          wrote on last edited by
          #7

          @auto-reply-bot Ty but idk what to do with that, maybe more thorough like actually putting it in the code and sending me it

          DreamWasFuckedD 1 Reply Last reply
          0
          • GridzzG Gridzz

            @auto-reply-bot Ty but idk what to do with that, maybe more thorough like actually putting it in the code and sending me it

            DreamWasFuckedD Offline
            DreamWasFuckedD Offline
            DreamWasFucked
            wrote on last edited by
            #8
            var Mouse = Java.type('org.lwjgl.input.Mouse');
            var Robot = Java.type('java.awt.Robot');
            var InputEvent = Java.type('java.awt.event.InputEvent');
            var script = registerScript({
                name: 'DoubleClick',
                version: '1.0',
                authors: ['Gridzz']
            });
            script.registerModule({
                name: 'DoubleClick',
                description: 'Click Twice!',
                category: 'Fun'
            
            }, function (module) {
                module.on('update', function () {
                    if (mc.gameSettings.keyBindAttack.isKeyDown() || Mouse.isButtonDown(0)) {
                        var bot = new Robot();
                        bot.mousePress(InputEvent.BUTTON2_DOWN_MASK);
                        bot.mouseRelease(InputEvent.BUTTON2_DOWN_MASK);
                    }
                });
            });
            
            GridzzG 2 Replies Last reply
            0
            • DreamWasFuckedD DreamWasFucked
              var Mouse = Java.type('org.lwjgl.input.Mouse');
              var Robot = Java.type('java.awt.Robot');
              var InputEvent = Java.type('java.awt.event.InputEvent');
              var script = registerScript({
                  name: 'DoubleClick',
                  version: '1.0',
                  authors: ['Gridzz']
              });
              script.registerModule({
                  name: 'DoubleClick',
                  description: 'Click Twice!',
                  category: 'Fun'
              
              }, function (module) {
                  module.on('update', function () {
                      if (mc.gameSettings.keyBindAttack.isKeyDown() || Mouse.isButtonDown(0)) {
                          var bot = new Robot();
                          bot.mousePress(InputEvent.BUTTON2_DOWN_MASK);
                          bot.mouseRelease(InputEvent.BUTTON2_DOWN_MASK);
                      }
                  });
              });
              
              GridzzG Offline
              GridzzG Offline
              Gridzz
              wrote on last edited by
              #9

              @auto-reply-bot said in Script support.:

              var Mouse = Java.type('org.lwjgl.input.Mouse');
              var Robot = Java.type('java.awt.Robot');
              var InputEvent = Java.type('java.awt.event.InputEvent');
              var script = registerScript({
                  name: 'DoubleClick',
                  version: '1.0',
                  authors: ['Gridzz']
              });
              script.registerModule({
                  name: 'DoubleClick',
                  description: 'Click Twice!',
                  category: 'Fun'
              
              }, function (module) {
                  module.on('update', function () {
                      if (mc.gameSettings.keyBindAttack.isKeyDown() || Mouse.isButtonDown(0)) {
                          var bot = new Robot();
                          bot.mousePress(InputEvent.BUTTON2_DOWN_MASK);
                          bot.mouseRelease(InputEvent.BUTTON2_DOWN_MASK);
                      }
                  });
              });
              

              Thanks! Definitely owe you a favour that I'm going to regret ±

              1 Reply Last reply
              0
              • DreamWasFuckedD DreamWasFucked
                var Mouse = Java.type('org.lwjgl.input.Mouse');
                var Robot = Java.type('java.awt.Robot');
                var InputEvent = Java.type('java.awt.event.InputEvent');
                var script = registerScript({
                    name: 'DoubleClick',
                    version: '1.0',
                    authors: ['Gridzz']
                });
                script.registerModule({
                    name: 'DoubleClick',
                    description: 'Click Twice!',
                    category: 'Fun'
                
                }, function (module) {
                    module.on('update', function () {
                        if (mc.gameSettings.keyBindAttack.isKeyDown() || Mouse.isButtonDown(0)) {
                            var bot = new Robot();
                            bot.mousePress(InputEvent.BUTTON2_DOWN_MASK);
                            bot.mouseRelease(InputEvent.BUTTON2_DOWN_MASK);
                        }
                    });
                });
                
                GridzzG Offline
                GridzzG Offline
                Gridzz
                wrote on last edited by Gridzz
                #10

                @auto-reply-bot Hey it still doesn't detect the 'DoubleClick' script in the combat GUI, how can I make it detectable?

                Edit 1: Never-mind. LOL
                Edit 2: It works but it doesn't show up in any of the arrow-gui lists, such as combat. I can bind it but I cant find it.
                Edit 3: It doesn't work scam

                GridzzG 1 Reply Last reply
                0
                • GridzzG Gridzz

                  @auto-reply-bot Hey it still doesn't detect the 'DoubleClick' script in the combat GUI, how can I make it detectable?

                  Edit 1: Never-mind. LOL
                  Edit 2: It works but it doesn't show up in any of the arrow-gui lists, such as combat. I can bind it but I cant find it.
                  Edit 3: It doesn't work scam

                  GridzzG Offline
                  GridzzG Offline
                  Gridzz
                  wrote on last edited by Gridzz
                  #11

                  Anyone?!>!?!?!?

                  CzechHekC 1 Reply Last reply
                  0
                  • GridzzG Gridzz

                    Anyone?!>!?!?!?

                    CzechHekC Offline
                    CzechHekC Offline
                    CzechHek
                    wrote on last edited by CzechHek
                    #12

                    @gridzz there should be
                    ///api_version=2
                    as the first line

                    edit: you had it there before ah

                    GridzzG 1 Reply Last reply
                    0
                    • CzechHekC CzechHek

                      @gridzz there should be
                      ///api_version=2
                      as the first line

                      edit: you had it there before ah

                      GridzzG Offline
                      GridzzG Offline
                      Gridzz
                      wrote on last edited by
                      #13

                      @czechhek said in Script support.:

                      @gridzz there should be
                      ///api_version=2
                      as the first line

                      edit: you had it there before ah

                      Yeah, still doesn't work. What can I do, as I think it's the codes fault. I want to place blocks twice (aka the double clicking) and also set an option to double click on LMB later.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      About
                      • Terms of Service
                      • Privacy Policy
                      • Status
                      • Contact Us
                      Downloads
                      • Releases
                      • Source code
                      • License
                      Docs
                      • Tutorials
                      • CustomHUD
                      • AutoSettings
                      • ScriptAPI
                      Community
                      • Forum
                      • Guilded
                      • YouTube
                      • Twitter
                      • D.Tube
                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups