Created
July 17, 2012 20:42
-
-
Save phl0w/3131920 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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