All pastes #178340 Raw Edit

Untitled

public java v1 · immutable
#178340 ·published 2006-09-21 06:33 UTC
rendered paste body
import impsoft.ibot.Areas;import impsoft.ibot.Info;import impsoft.ibot.methods.RGB;import impsoft.ibot.methods.Script;import impsoft.ibot.methods.XY;public class Bank extends Script {	private int[][] bank;		private XY matches[];		public String author = "ruler";	public boolean startUp() {		if (theBot.loggedIn) {			if(bank==null){				bank=new RGB(239,212,83);			}				matches =findXYs(getColorArray2d(), Areas.ENTIRE,						null, bank, 0,						0, 0);				if(matches.length>0){					return true;                                log("omfg it worked");				}			}								}		setNextCheck(3000);		return false;	}	public void random() throws InterruptedException {		for(int i=0;i<matches.length;i++){			log("Found boxes at | X "+matches[i].x+" | Y "+matches[i].y);		}		log("Box Found Kill Bot");		shutDown();	}}