Advertisement
LunarKnight

OSRS Clean Herbs + Bank AHK Script 1:1 22,450/h

Jun 21st, 2015 (edited)
6,370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. `::Suspend
  2. 0::
  3. 4::
  4.     BlockInput On
  5.     X=0
  6.     Z=0
  7.     BlockInput Off
  8.     return
  9. 1::
  10.     BlockInput On
  11.     X+=1
  12.         if (X==1 or X==3 or X==5 or X==7 or X==9 or X==11 or X==13 or X==15 or X==17 or X==19 or X==21 or X==23 or X==25 or X==27 or X==29 or X==31 or X==33 or X==35 or X==37 or X==39 or X==41 or X==43 or X==45 or X==47 or X==49 or X==51 or X==53 or X==55 or X==57){
  13.             Click
  14.         }
  15.         if (X==2 or X==4 or X==6 or X==8 or X==10 or X==12 or X==16 or X==18 or X==20 or X==22 or X==24 or X==26 or X==30 or X==32 or X==34 or X==36 or X==38 or X==40 or X==44 or X==46 or X==48 or X==50 or X==52 or X==54){
  16.             MouseMove, 0, 36, 0, R
  17.         }
  18.         if (X==14 or X==28 or X==42){
  19.             MouseMove, 42, -216, 0, R
  20.         }
  21.         if (X==56){
  22.             MouseMove, -370, -235, 0, R
  23.             Z=0
  24.         }
  25.     BlockInput Off
  26.     return
  27. 2::
  28.     BlockInput On
  29.     Z+=1
  30.         if(Z==1){
  31.             MouseMove, 110, 100, 0, R
  32.         }
  33.         if(Z==2 or Z==6 or Z==8){
  34.             Click
  35.         }
  36.         if(Z==3){
  37.             MouseMove, -355, -210, 0, R
  38.         }
  39.         if(Z==4){
  40.             Click right
  41.         }
  42.         if(Z==5){
  43.             MouseMove, 0, 103, 0, R
  44.         }
  45.         if(Z==7){
  46.             MouseMove, 395, -180, 0, R
  47.         }
  48.         if(Z==9){
  49.             MouseMove, 94, 206, 0, R
  50.             X=0
  51.         }
  52.     BlockInput Off
  53.     return
  54. 3::
  55.     BlockInput On
  56.     X+=1
  57.         if (X==1 or X==3 or X==5 or X==7 or X==9 or X==11 or X==13 or X==15 or X==17 or X==19 or X==21 or X==23 or X==25 or X==27 or X==29 or X==31 or X==33 or X==35 or X==37 or X==39 or X==41 or X==43 or X==45 or X==47 or X==49 or X==51 or X==53 or X==55){
  58.             Click
  59.         }
  60.         if (X==2 or X==4 or X==6 or X==8 or X==10 or X==12 or X==16 or X==18 or X==20 or X==22 or X==24 or X==26 or X==30 or X==32 or X==34 or X==36 or X==38 or X==40 or X==44 or X==46 or X==48 or X==50 or X==52 or X==54){
  61.             MouseMove, 0, 36, 0, R
  62.         }
  63.         if (X==14 or X==28 or X==42){
  64.             MouseMove, 42, -216, 0, R
  65.         }
  66.         if (X==56){
  67.             MouseMove, -370, -235, 0, R
  68.             Sleep, 5
  69.         }
  70.         if (X==57){
  71.             Click
  72.             Sleep, 700
  73.         }
  74.         if(X==58){
  75.             MouseMove, 110, 100, 0, R
  76.         }
  77.         if(X==59 or X==63 or X==65){
  78.             Click
  79.         }
  80.         if(X==60){
  81.             MouseMove, -355, -210, 0, R
  82.         }
  83.         if(X==61){
  84.             Click right
  85.         }
  86.         if(X==62){
  87.             MouseMove, 0, 103, 0, R
  88.         }
  89.         if(X==64){
  90.             MouseMove, 395, -180, 0, R
  91.         }
  92.         if(X==66){
  93.             MouseMove, 94, 206, 0, R
  94.             X=0
  95.             Sleep, 900
  96.         }
  97.     BlockInput Off
  98.     return
  99.  
  100. ; Use resizeable mode with the smallest window and zoom all the way in (alt+scroll wheel), stand at the bank booth with the camera down so the booth fills most of the screen. In Konduit you don't need resizeable mode and you can zoom in with ctrl+scroll.
  101. ; Preferably the Grand Exchange bank booth.
  102. ; Place herbs in the very first slot in any bank tab.
  103. ; Hover over the center of the herb in the very first inventory slot before beginning.
  104. ; Hold 1 to clean herbs, then open the bank.
  105. ; Hold 2 when the bank pops up to do the banking sequence, then get ready to clean again.
  106. ; Hold 3 to do a combination of 1 and 2 non-stop. (if the server is lagging or your ping is high, use 1 and 2)
  107. ; Press 4 or 0 to reset the script progress for the 1 and 2 keys.
  108. ; Press ~ ` key to suspend/unsuspend the script.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement