Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //#! name = Mussels auto pick up
- //#! tooltip = Automatically pick ups mussels around you, just get close to them and press!
- //#! icon = gfx/invobjs/mussel
- include("api/jBotAPI");
- function Main(){
- while(true){
- var mussels = jFindObjectByName("mussel", 15);
- if(mussels != null && checkInventory().freeSlots() > 0){
- jDoClick(mussels.getID(), 3, 0);
- jSleep(100);
- if(jWaitPopup(200)){jSelectContextMenu("Pick"); jWaitProgress(actionTimeout);}
- }else{jToConsole("There isn't more mussels or space in the inventory!"); break;}
- }
- }
- Main();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement