Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Script>ThEShAdOw:Goblin Diplomacy:1.02
- <Description>Created by ThEShAdOw, updated by botthestrange: Start anywhere, Reqs about 1500gp in the bank.
- <Boolean>DyedGobArmour:false
- <Boolean>BuyOrangedye:false
- <Boolean>BuyBlueDye:false
- <Position>GoblinDiplomacy_IV:2959,3515,0
- <Position>GoblinDiplomacy_III:2952,3508,0
- <Position>GoblinDiplomacy_II:2955,3497,0
- <Position>GoblinDiplomacy_I:3165,3485,0
- <Position>GoblinDiplomacy_V:2957,3512,0
- [0, Debug, debug, 1:[Top of file]]
- [1001, Dialogues, isInDialogue, {true}]
- [1001, Dialogues, clickContinue]
- [1002, RS2Widget, isVisible, {true}, 2:277, 2:15]
- [1002, Sleeping, sleepRandom, 2:500, 2:1500]
- [1002, Mouse, moveMouseAndClick, 2:441, 2:78, 2:5]
- [1004, RS2Widget, isVisibleContainingText, {true}, 1:[This is your bank. No one else can touch it but you.]]
- [1004, RS2Widget, interact, 2:664, 2:28, 1:Continue]
- [1005, GrandExchange, isBuyOfferOpen, {true}]
- [1005, RS2Widget, interactWithWidgetContainingAction, 1:[Back]]
- [1008, RS2Widget, isVisibleContainingText, {true}, 1:[currently restricted]]
- [1008, Dialogues, clickContinue]
- [1009, RS2Widget, isVisibleContainingText, {true}, 1:[want to world-hop?]]
- [1009, Dialogues, selectOption, 1:[Yes, and don't warn me about this again.]]
- [1199, Inventory, contains, {false}, 1:Orange dye, 1:Blue dye]
- [1199, Variables, getBoolean, 1:DyedGobArmour, 3:false]
- [1199, Bank, isOpen, {false}]
- [1199, Variables, getBoolean, 1:BuyOrangedye, 3:false]
- [1199, Variables, getBoolean, 1:BuyBlueDye, 3:false]
- [1199, WalkTo, walkToClosestBank]
- [1199, Bank, open]
- [1199, Bank, depositAll]
- [1200, Bank, containsAny, {true}, 1:Orange dye]
- [1200, Inventory, contains, {false}, 1:Orange dye]
- [1200, Bank, isOpen, {true}]
- [1200, Bank, withdrawX, 1:Orange dye, 2:1]
- [1201, Bank, isOpen, {true}]
- [1201, Inventory, contains, {false}, 1:Orange dye]
- [1201, Bank, contains, {false}, 1:Orange dye]
- [1201, Variables, getBoolean, 1:BuyOrangedye, 3:false]
- [1201, Variables, editBoolean, 1:BuyOrangedye, 3:true]
- [1201, Bank, withdrawX, 1:Coins, 2:1000]
- [1202, Bank, isOpen, {true}]
- [1202, Bank, contains, {true}, 1:Blue dye]
- [1202, Inventory, contains, {false}, 1:Blue dye]
- [1202, Bank, withdrawX, 1:Blue dye, 2:1]
- [1203, Bank, contains, {false}, 1:Blue dye]
- [1203, Inventory, contains, {false}, 1:Blue dye]
- [1203, Bank, isOpen, {true}]
- [1203, Variables, getBoolean, 1:BuyBlueDye, 3:false]
- [1203, Variables, editBoolean, 1:BuyBlueDye, 3:true]
- [1203, Bank, withdrawX, 1:Coins, 2:400]
- [1204, Bank, isOpen, {true}]
- [1204, Variables, getBoolean, 1:BuyBlueDye, 3:true]
- [1204, Inventory, getAmount, 1:Coins, 2:399, 1:<]
- [1204, Variables, addOr]
- [1204, Bank, isOpen, {true}]
- [1204, Variables, getBoolean, 1:BuyOrangedye, 3:true]
- [1204, Inventory, getAmount, 1:Coins, 2:999, 1:<]
- [1204, Bank, close]
- [1204, Debug, debug, 1:[Not enough gold!]]
- [1204, Sleeping, sleep, 2:[10000]]
- [1205, GrandExchange, isOpen, {false}]
- [1205, Variables, getBoolean, 1:DyedGobArmour, 3:false]
- [1205, Variables, getBoolean, 1:BuyOrangedye, 3:true]
- [1205, Variables, addOr]
- [1205, GrandExchange, isOpen, {false}]
- [1205, Variables, getBoolean, 1:DyedGobArmour, 3:false]
- [1205, Variables, getBoolean, 1:BuyBlueDye, 3:true]
- [1205, WalkTo, walkToPosition, 1:GoblinDiplomacy_I, 3:true, 3:true]
- [1205, GrandExchange, open]
- [1206, GrandExchange, isOpen, {true}]
- [1206, Variables, getBoolean, 1:BuyBlueDye, 3:true]
- [1206, Inventory, getAmount, 1:Coins, 2:400, 1:>=]
- [1206, GrandExchange, isBuyOfferOpen, {false}]
- [1206, RS2Widget, isVisibleContainingText, {false}, 1:[Blue dye]]
- [1206, Inventory, inventoryContainsPartialName, {false}, 1:Blue dye, 3:false, 3:true]
- [1206, GrandExchange, buy, 2:1767, 1:Blue dye, 2:400, 2:1]
- [1207, GrandExchange, isOpen, {true}]
- [1207, Variables, getBoolean, 1:BuyOrangedye, 3:true]
- [1207, Inventory, getAmount, 1:Coins, 2:1000, 1:>=]
- [1207, GrandExchange, isBuyOfferOpen, {false}]
- [1207, RS2Widget, isVisibleContainingText, {false}, 1:[Orange dye]]
- [1207, Inventory, inventoryContainsPartialName, {false}, 1:Orange dye, 3:false, 3:true]
- [1207, GrandExchange, buy, 2:1769, 1:Orange dye, 2:1000, 2:1]
- [1208, GrandExchange, isFinishedBuyingAllSlots, {true}]
- [1208, GrandExchange, collect]
- [1212, Configs, isSet, {true}, 2:62, 2:0]
- [1212, Inventory, contains, {false}, 1:Goblin mail]
- [1212, Inventory, contains, {true}, 1:Orange dye]
- [1212, Inventory, contains, {true}, 1:Blue dye]
- [1212, Variables, editBoolean, 1:BuyOrangedye, 3:false]
- [1212, Variables, editBoolean, 1:BuyBlueDye, 3:false]
- [1212, WalkTo, walkToPosition, 1:GoblinDiplomacy_II, 3:true, 3:false]
- [1212, RS2Object, interactWith, 1:Ladder, 1:Climb-up]
- [1212, Sleeping, sleep, 2:[2000]]
- [1212, RS2Object, interactWith, 1:Crate, 1:Search]
- [1212, Sleeping, sleep, 2:[800]]
- [1212, RS2Object, interactWith, 1:Ladder, 1:Climb-down]
- [1213, Configs, isSet, {true}, 2:62, 2:256]
- [1213, Inventory, getAmount, 1:Goblin mail, 2:1, 1:==]
- [1213, Inventory, contains, {false}, 1:Orange goblin mail]
- [1213, Inventory, contains, {false}, 1:Blue goblin mail]
- [1213, WalkTo, walkToPosition, 1:GoblinDiplomacy_III, 3:true, 3:true, 3:true]
- [1213, RS2Object, interactWith, 1:Crate, 1:Search]
- [1214, Configs, isSet, {true}, 2:62, 2:384]
- [1214, Inventory, getAmount, 1:Goblin mail, 2:2, 1:==]
- [1214, Inventory, contains, {false}, 1:Blue goblin mail]
- [1214, WalkTo, walkToPosition, 1:GoblinDiplomacy_IV, 3:true, 3:true, 3:true]
- [1214, RS2Object, interactWith, 1:Crate, 1:Search]
- [1214, Sleeping, sleep, 2:[800]]
- [1215, Configs, isSet, {true}, 2:62, 2:448]
- [1215, Inventory, getAmount, 1:Goblin mail, 2:3, 1:==]
- [1215, Inventory, contains, {true}, 1:Orange dye]
- [1215, Dialogues, isInDialogue, {false}]
- [1215, WalkTo, walkToPosition, 1:GoblinDiplomacy_V, 3:true, 3:false]
- [1215, Inventory, interactWith, 1:Blue dye, 1:Use]
- [1215, Inventory, interactWith, 1:Goblin mail, 1:Use]
- [1215, Sleeping, sleep, 2:[1500]]
- [1215, Inventory, interactWith, 1:Orange dye, 1:Use]
- [1215, Inventory, interactWith, 1:Goblin mail, 1:Use]
- [1215, Variables, editBoolean, 1:DyedGobArmour, 3:true]
- [1216, Dialogues, isInDialogue, {false}]
- [1216, Variables, getBoolean, 1:DyedGobArmour, 3:true]
- [1216, WalkTo, walkToPosition, 1:GoblinDiplomacy_V, 3:true, 3:false]
- [1216, Sleeping, sleepRandom, 2:500, 2:1200]
- [1216, NPC, interactWith, 1:General Bentnoze, 1:Talk-to]
- [1216, Sleeping, sleep, 2:[1200]]
- [1217, Map, canReachEntity, {false}, 1:General Bentnoze, 1:NPC]
- [1217, Configs, isSet, {true}, 2:62, 2:448]
- [1217, RS2Object, interactWith, 2:12446, 1:Open]
- [1218, Dialogues, isInDialogue, {true}]
- [1218, NPC, isVisible, {true}, 1:[General Bentnoze]]
- [1218, Dialogues, selectOption, 1:[Do you want me]]
- [1218, Dialogues, selectOption, 1:[Yes, Wartface looks]]
- [1218, Dialogues, selectOption, 1:[What about a]]
- [1218, Dialogues, selectOption, 1:[I have some orange]]
- [1218, Dialogues, selectOption, 1:[I have some blue]]
- [1218, Dialogues, selectOption, 1:[I have some brown]]
- [1219, Configs, isSet, {true}, 2:62, 2:454]
- [1219, Dialogues, isInDialogue, {false}]
- [1219, Sleeping, sleep, 2:[30000]]
Add Comment
Please, Sign In to add comment