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?