Jump to content

Getting client username?


Recommended Posts

Posted

Wanting to put:

if (!this.client.getUsername().equals("thelegmanosbot@gmail.com")) {
            this.log("This script wasn't made for you.");
            this.stop();

into my script.. but every time I launch my client it auto stops the script.

I'm logging into OSBot w/ my it as my username!

422d8d9f05864c58e3080507bd8db115.png
https://gyazo.com/422d8d9f05864c58e3080507bd8db115

 

Anyone know how this works please? :/

 

Thanks in advance.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...