Public feed #598551

Miscellany

public java v1 · immutable
Raw Edit
·published 2007-07-01 13:11 UTC
rendered paste body
//all imports herepublic class YourScript extends ColorScript {	public static String[] commands = new String[] { "Command1",			"command2", "command3"};					public YourScript(ColorBot b, String cmd, String args[]) {      super(b);      if (cmd.equals("Command1"))         log ("you choose command 1");      else if (cmd.equals("Command2"))        log ("you choose Command 2");      else if (cmd.euqals("Command3"))        log ("You chooose command 3");    }}