adding information and variables to your script

Jump to: navigation, search

In the script, right here..

public class ClassNameHere extends ColorScript implements AutoPaint

	//Information here
	public ClassNameHere(ColorBot c)

You can add in information in the script to be later used for references or whatever. Anyways have this for your scripts.

public static String author = "durenir";
public static String description = "My scripting tutorial";
public static double version = 1.0; 

This will be used later for your script when it loads.

Remember that you can always add more things in there like names of NPC to be later used.

Complete iBot neXus Scripting Tutorial by Durenir, Updated by Chen (Monopoly)