Skip to content

Instantly share code, notes, and snippets.

@phl0w
Created July 17, 2012 20:42
Show Gist options
  • Select an option

  • Save phl0w/3131920 to your computer and use it in GitHub Desktop.

Select an option

Save phl0w/3131920 to your computer and use it in GitHub Desktop.
import org.powerbot.concurrent.Task;
import org.powerbot.concurrent.strategy.Condition;
import org.powerbot.game.api.ActiveScript;
import org.powerbot.game.api.Manifest;
@Manifest(authors = { "_phl0w" }, name = "Your first script")
public class Skeleton extends ActiveScript {
@Override
protected void setup() {
submit(new HelloWorld());
}
private class HelloWorld implements Task, Condition {
@Override
public boolean validate() {
return true;
}
@Override
public void run() {
log.info("Hello world.");
stop();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment