Guest User

Untitled

a guest
Jul 17th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. import java.awt.Color; // this is for paint.. to change color
  2. import java.awt.Graphics; // this is for paint aswell. such as boxes
  3. import org.rsbot.event.listeners.PaintListener; // this is the main import for main import for paint
  4. import org.rsbot.script.Script;
  5. import org.rsbot.script.ScriptManifest; //this is the script manifiest (script name.. and description etc..)
  6. import org.rsbot.script.wrappers.RSNPC; //this is for runescape npc clicking /checking ect..
  7. import org.rsbot.bot.Bot; // this is the bot screen itself
  8. import org.rsbot.script.wrappers.RSInterface;
  9. import org.rsbot.script.wrappers.RSItem; //this is for items
  10. import org.rsbot.script.wrappers.RSItemTile; //this is for items on ground
  11. import org.rsbot.script.wrappers.RSObject; // this is for objects.. clicking checking etc..
  12. import org.rsbot.script.wrappers.RSPlayer; //this is for player .. it gets you x-y position combat level etc..
  13. import org.rsbot.script.wrappers.RSTile; // this is for walking or checking tiles..
  14.  
  15. @ScriptManifest(authors = { "Gamepost" }, category = "Others", name = "Test", version = 0.0, description = "This script maked by Gamepost And Thanks To IceCandle for helping me ALOT!<3")
  16. public class TestScriptbyGamepost extends Script {
  17. int Fortunato = 3671;
  18.  
  19. public int loop() {
  20. if (getNearestNPCByID(Fortunato = 3671) != null) {
  21. atNPC(getNearestNPCByID(Fortunato = 3671),"Trade");
  22. log("Trading Fortunato And Going To Buy!");
  23. public void buyJugeofwine(){
  24. moveMouse(random(49, 51), random(69, 71));
  25. atMenu("Buy 50");
  26. wait(random(1000, 1500));
  27. moveMouse(random(484, 486), random(17, 20));
  28. clickMouse(true);
  29. }
  30. }
  31. bank.close();
  32. return 2000;
  33. }
  34. public void onFinish()
  35. {
  36. log("Thanks for using gamepost script");
  37. }
  38.  
  39. } // before it tries again.
Add Comment
Please, Sign In to add comment