Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import org.parabot.environment.api.interfaces.Paintable;
- import org.parabot.environment.api.utils.Time;
- import org.parabot.environment.scripts.Category;
- import org.parabot.environment.scripts.Script;
- import org.parabot.environment.scripts.ScriptManifest;
- import org.parabot.environment.scripts.framework.LoopTask;
- import org.rev317.min.api.events.listeners.MessageListener;
- import org.rev317.min.api.methods.Menu;
- @ScriptManifest(author = "God Poe X D",
- category = Category.OTHER, description = "Decants potions into flasks",
- name = "Decanter",
- servers = { "Ikov" },
- version = 0.1)
- public class Decanter implements LoopTask {
- public static int flaskID = 14129; //14129 sara
- public static int potID = 6686; //6686 sara
- public int loop() {
- //open bank
- Menu.sendAction(502, 1110006199, 48, 53, 2213, 4);
- Time.sleep(1000);
- //disposit inventory
- Menu.sendAction(431, flaskID - 1, 0, 5064, 2213, 3);
- Time.sleep(1000);
- //withdraw 4 dose pots
- Menu.sendAction(776, potID - 1, 0, 5382, 2213, 5);
- Time.sleep(1000);
- //close bank
- Menu.sendAction(200, 14287, 22, 5384, 2213, 1);
- Time.sleep(1000);
- //decant pots by using one on other with action
- Menu.sendAction(447, potID - 1, 0, 53, 3214, 4);
- Menu.sendAction(871, potID - 1, 4, 53, 3214, 1);
- Time.sleep(1000);
- return 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement