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. [Legendary] How can I make a script exclude players? (like the AntiBot)

[Legendary] How can I make a script exclude players? (like the AntiBot)

Scheduled Pinned Locked Moved Unsolved ScriptAPI
3 Posts 2 Posters 365 Views
  • 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.
  • suicidemouse33S Offline
    suicidemouse33S Offline
    suicidemouse33
    wrote on last edited by suicidemouse33
    #1

    the [Legendary] in the title is a joke.

    i am trying to make a forcedtarget script (the concept for the script is that the script excludes players if a player name doesn't equal to your specified target name)

    excluding players should be like the one in the AntiBot module.

    any help will be appreciated.

        for (var i in mc.theWorld.loadedEntityList) {
            var e = mc.theWorld.loadedEntityList[i];
            if (e.getName() != module.settings.TargetName.get()) {
                //the excluding part
            }
        }
    
    CzechHekC 1 Reply Last reply
    0
    • suicidemouse33S suicidemouse33 deleted this topic on
    • suicidemouse33S suicidemouse33 restored this topic on
    • suicidemouse33S Offline
      suicidemouse33S Offline
      suicidemouse33
      wrote on last edited by
      #2

      ok i accidentally deleted this thread because im sleepy rn

      anyways

      1 Reply Last reply
      0
      • suicidemouse33S suicidemouse33

        the [Legendary] in the title is a joke.

        i am trying to make a forcedtarget script (the concept for the script is that the script excludes players if a player name doesn't equal to your specified target name)

        excluding players should be like the one in the AntiBot module.

        any help will be appreciated.

            for (var i in mc.theWorld.loadedEntityList) {
                var e = mc.theWorld.loadedEntityList[i];
                if (e.getName() != module.settings.TargetName.get()) {
                    //the excluding part
                }
            }
        
        CzechHekC Offline
        CzechHekC Offline
        CzechHek
        wrote on last edited by CzechHek
        #3

        @suicidemouse You can enable wasinvisible option in AntiBot and edit the list of players that were invisible manually and exclude them that way.

        or if you don't want to blacklist all other players than your target then you can use the needhit option and edit list of players that you hit

        1 Reply Last reply
        1
        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