All pastes #578099 Raw Edit

Untitled

public text v1 · immutable
·published 2007-06-20 05:08 UTC
rendered paste body
public class willows extends ColorScript implements AutoPaint, ChatListener
{
	public static String author = "Nueb35";
	public static String description = "Willow Cutter";
	public String status = "Starting";
	public RGB[] tree = {new RGB(112,120,60)};
	public RGB[] ent = {new RGB(255,255,0)};
	public RGB[] bank = {new RGB(152,141,126)};
	public ArrayList<AryanTile> ab = new ArrayList<AryanTile>();
	boolean on = true;




Ok, this part is at the beginning of every script, ill brake it down into parts.

       public class willows extends ColorScript implements AutoPaint, ChatListener
       {

This line is just the start of every script, and has the title of your script in it. Note "willows" is the title.

	public static String author = "Nueb35";
	public static String description = "Willow Cutter";

These two lines are self explanitory, it just shows who is the owner of the script, and what the script does.

        public String status = "Starting";

This line is a String called status, it is updated threw out the script to show you what the script is doing at the time, it usually is put into the progress report that is shown on the screen. Right now the status is "Starting" because the script is just starting up.

	public RGB[] tree = {new RGB(112,120,60)};
	public RGB[] ent = {new RGB(255,255,0)};
	public RGB[] bank = {new RGB(152,141,126)};

These are the colors or "red green blues" of something, in these its the colors to look for in the tree, ent, and bank.

	public ArrayList<AryanTile> ab = new ArrayList<AryanTile>();
	boolean on = true;

This is added to make it so that you can make a walkback with tiles. and the boolean on = true is for more options down the line.