Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save phl0w/3131820 to your computer and use it in GitHub Desktop.
import org.powerbot.concurrent.Task;
import org.powerbot.concurrent.strategy.Strategy;
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() {
provide(new HelloWorld());
}
private class HelloWorld extends Strategy implements Task {
@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