All pastes #372671 Raw Edit

Miscellany

public java v1 · immutable
#372671 ·published 2007-02-26 06:38 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.*; //In this script, we don't need it, but just keep it commented.import java.awt.Rectangle;//import java.awt.event.KeyEvent; //In this script, we don't need it, but just keep it commented.//import org.apache.log4j.rule.ExistsRule; //In this script, we don't need it, but just keep it commented. public class testing extends ColorScript{    //Declare standard variables.    public static double version = 1.0;    public static String[] commands = new String[] {"Opens bank."};    public String author = "Solarwind v1.0";    public String description = "Opens bank.";        //Declare game variables.    public int mx = 240; //Areas.GAME middle x point.    public int my = 160; //Areas.GAME middle y point.            public boolean doStart(String cmd, String[] args) throws InterruptedException {    	log("Starting script...");        return true;    }             public void script() throws InterruptedException {         	XY s = findSymbol(MiniMap.SYMBOL_BANK);    	    	if(s != null) {    		log("Symbol found!");    		mouseMove(s);    	} else {    		log("Symbol not found!");    	}    	    } }