Jump to content

World hoppin


Recommended Posts

Posted

Hey guuys, no matter how much I try, I can't seem to get the worlds hopper to work... I have tried everything from worlds.hop(381); to this

import org.osbot.rs07.api.filter.Filter;
import org.osbot.rs07.api.ui.World;
import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;

@ScriptManifest(author = "Mike", info = "Muler", logo = "", name = "Mulaaaaa", version = 1.1)
public class EdgeMuler extends Script{
	@Override
	public void onStart() throws InterruptedException {
	}
	@Override
	public int onLoop() throws InterruptedException {
		//getWorlds().hop((World w) -> { return w.getId() == 381; });
		worlds.hop(new Filter<World>(){
			public boolean match(World w){
				return !w.isMembers();
			}
		});
		log("Hopped"); 
		return(5000);
	}
	
}

someone please help?

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...