All pastes #474216 Raw Edit

Something

public text v1 · immutable
·published 2007-05-06 18:02 UTC
rendered paste body
import impsoft.nexus.bots.color.constants.*;
import impsoft.nexus.bots.color.methods.*;
import impsoft.nexus.bots.color.scriptobjects.*;
import impsoft.nexus.storage.SettingsManager;
import java.awt.Point;
import java.awt.Rectangle;

public class PowerChop extends ColorScript {
    public static double version = 0.43;
    public String author="sniffysniper";
    public String description="powerchopper";
    public RGBCluster cluster;
    public boolean doStart(String cmd, String[] args)
    throws InterruptedException {
        cluster=new RGBCluster(new RGB[]{new RGB(159, 195, 80),new RGB(148, 174, 80)},this);
        return true;
    }
   
    public void script() throws InterruptedException {
        while (true) {
            if (inventoryCount()==28)
            {
                doActionAtInventory(new String[]{"Axe"}, "Drop", 27);
            }
            gettree();
            sleep(random(2000,2500));
        }
    }
    public void gettree() throws InterruptedException {
        cluster.gatherNewPoints(3);
        while(cluster.doTopTextAndMenu("Chop","Chop")==false)
        {
            sleep(random(1250,1500));
            cluster.gatherNewPoints(6);
        }
    }
}