Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Spider #2 Squeenix's Grinder
- do;
- %#v%=0;
- pick("cooked_fished");
- wait(2t);
- if(%ITEM%="cooked_fished");
- do;
- key(use);
- until(HUNGER=20);
- endif;
- LOOKS(10,70,20t);
- slot(8); //check if slot has sword
- if(%ITEM% != "golden_sword");
- &var = "true"
- else;
- &var = "false"
- endif;
- #curx=%ZPOS%;
- if(%&var% = "true"); //sword pull in
- FOR(#q,9,35);
- GUI(inventory);
- wait(2t);
- GETSLOTITEM(%#q%,&i);
- IF((&i="golden_sword"));
- #b = %#b% + 1;
- wait(2t);
- SLOTCLICK(%#q%,1,true);
- wait(2t);
- log(b = %#b%);
- ENDIF;
- IF(%#b%>8);
- #b = 0;
- press(ESCAPE);
- log("hotbar full");
- BREAK;
- ENDIF;
- NEXT;
- endif;
- if(%ZPOS%=-982);
- slot(1);
- #v=1;
- wait(150t);
- do;
- pick("golden_sword");
- key(attack);
- wait(2t);
- #v=%#v%+1;
- while(%#v%<240);
- keydown(back);
- #v=1;
- do;
- until(%ZPOS%=-981);
- keyup(back);
- FOR(#hotbar,36,43); //Clear Hotbar
- GUI(inventory);
- wait(5t);
- log(Slot = %#hotbar%);
- GETSLOTITEM(%#hotbar%,&i);
- IF(&i != "golden_sword");
- log(Item other than Gold Sword in slot %#hotbar%;
- wait(2t);
- SLOTCLICK(%#hotbar%,1,false);
- wait(5t);
- SLOTCLICK(999,1,false);
- wait(2t);
- ENDIF;
- press(ESCAPE);
- wait(5t);
- NEXT;
- else;
- do;
- wait(2t);
- #v=%#v%+1;
- while(%#v%<400);
- keydown(forward);
- do;
- until(%ZPOS%=-982);
- keyup(forward);
- endif;
- loop;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement