November 21, 20178 yr 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! https://gyazo.com/422d8d9f05864c58e3080507bd8db115 Anyone know how this works please? Thanks in advance.
November 21, 20178 yr Author 3 minutes ago, Deceiver said: thats ur email fam ur username... it returns false to the legman The Legman The legman
November 21, 20178 yr Is it the capital letter? Or The lack of “quotations”? That makes it work, I love this idea. You can do .equalsignorecase() also correct?
November 21, 20178 yr Don't think spaces work with it Maybe convert your username, replace " ","" and then do if username!="TheLegman" { log("SCRIPT NOT FOR YOU, BITCH") stop(); } Edited November 21, 20178 yr by Juggles
November 21, 20178 yr You tried numerous things, except for what the result of client.getUsername() is.
November 21, 20178 yr nvm! Lol id cheat and drawstring(“ “+ client.getUsername(),15,15) and see what it says lol! Edited November 21, 20178 yr by sonda
Create an account or sign in to comment