Advertisement
Guest User

Untitled

a guest
Jan 29th, 2015
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. import org.parabot.environment.api.interfaces.Paintable;
  2. import org.parabot.environment.api.utils.Time;
  3. import org.parabot.environment.scripts.Category;
  4. import org.parabot.environment.scripts.Script;
  5. import org.parabot.environment.scripts.ScriptManifest;
  6. import org.parabot.environment.scripts.framework.LoopTask;
  7. import org.rev317.min.api.events.listeners.MessageListener;
  8. import org.rev317.min.api.methods.Menu;
  9.  
  10.  
  11. @ScriptManifest(author = "God Poe X D",
  12. category = Category.OTHER, description = "Decants potions into flasks",
  13. name = "Decanter",
  14. servers = { "Ikov" },
  15. version = 0.1)
  16.  
  17.  
  18. public class Decanter implements LoopTask {
  19.  
  20. public static int flaskID = 14129; //14129 sara
  21. public static int potID = 6686; //6686 sara
  22.  
  23. public int loop() {
  24.  
  25. //open bank
  26. Menu.sendAction(502, 1110006199, 48, 53, 2213, 4);
  27. Time.sleep(1000);
  28.  
  29. //disposit inventory
  30. Menu.sendAction(431, flaskID - 1, 0, 5064, 2213, 3);
  31. Time.sleep(1000);
  32.  
  33. //withdraw 4 dose pots
  34. Menu.sendAction(776, potID - 1, 0, 5382, 2213, 5);
  35. Time.sleep(1000);
  36.  
  37. //close bank
  38. Menu.sendAction(200, 14287, 22, 5384, 2213, 1);
  39. Time.sleep(1000);
  40.  
  41. //decant pots by using one on other with action
  42. Menu.sendAction(447, potID - 1, 0, 53, 3214, 4);
  43. Menu.sendAction(871, potID - 1, 4, 53, 3214, 1);
  44. Time.sleep(1000);
  45.  
  46. return 0;
  47. }
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement