Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public int loop() {
- if(isInventoryFull()){
- if(getNearestObjectByID(P) != null) {
- Status = "Entering Portal";
- atObject(Portal, "Enter");
- wait(random(50, 200));
- moveMouse(random(182, 341), random(423, 438));
- wait(random(50, 200));
- clickMouse(true);
- wait(random(1000, 4500));
- Status = "Entering name";
- sendText(userWithAltar, true);
- } else {
- walkPathMM(BankToAltar);
- }
- }
- if(!isInventoryFull()) {
- if(getNearestObjectByID(B) != null){
- Status = "Banking";
- bank();
- }
- else {
- atObject(Portal, "Enter");
- Status = "Banking";
- walkPathMM(AltarToBank);
- }
- }
- if(getNearestObjectByID(GildedAltar) != null){
- atInventoryItem(BoneID, "Use");
- Status = "Boning";
- wait(random(10, 70));
- atObject(findObject(GildedAltar), BoneCommand);
- }
- return 600;
- }
Add Comment
Please, Sign In to add comment