Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.awt.Color; // this is for paint.. to change color
- import java.awt.Graphics; // this is for paint aswell. such as boxes
- import org.rsbot.event.listeners.PaintListener; // this is the main import for main import for paint
- import org.rsbot.script.Script;
- import org.rsbot.script.ScriptManifest; //this is the script manifiest (script name.. and description etc..)
- import org.rsbot.script.wrappers.RSNPC; //this is for runescape npc clicking /checking ect..
- import org.rsbot.bot.Bot; // this is the bot screen itself
- import org.rsbot.script.wrappers.RSInterface;
- import org.rsbot.script.wrappers.RSItem; //this is for items
- import org.rsbot.script.wrappers.RSItemTile; //this is for items on ground
- import org.rsbot.script.wrappers.RSObject; // this is for objects.. clicking checking etc..
- import org.rsbot.script.wrappers.RSPlayer; //this is for player .. it gets you x-y position combat level etc..
- import org.rsbot.script.wrappers.RSTile; // this is for walking or checking tiles..
- @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")
- public class TestScriptbyGamepost extends Script {
- int Fortunato = 3671;
- public int loop() {
- if (getNearestNPCByID(Fortunato = 3671) != null) {
- atNPC(getNearestNPCByID(Fortunato = 3671),"Trade");
- log("Trading Fortunato And Going To Buy!");
- public void buyJugeofwine(){
- moveMouse(random(49, 51), random(69, 71));
- atMenu("Buy 50");
- wait(random(1000, 1500));
- moveMouse(random(484, 486), random(17, 20));
- clickMouse(true);
- }
- }
- bank.close();
- return 2000;
- }
- public void onFinish()
- {
- log("Thanks for using gamepost script");
- }
- } // before it tries again.
Add Comment
Please, Sign In to add comment