here's the script for auto potion maker aka herblore hope it works....
program mgpotionmaker;
{.include osi.txt}
var i:integer;
//////////////////////////////
const vialcolor = 12757157; //
const herbcolor = 610653; //940041=guam 1209870=marrentil 3566345=tarromin 947797=harralander 3766355 =irit 2643222=avantoe
//////////////////////////////
procedure Run;
begin
SetRun(true);
MouseFlag(645,148,1,1);
StandStill;
MouseFlag(648,20,1,1);
end;
procedure Bank;
begin
OpenBank;
deposit(0,0,0);
Withdraw(1,1,14);
Withdraw(2,1,14);
CloseBank;
end;
procedure makepotions;
begin
if(FindColorTolerance(x,y,vialcolor,566,213,735,475,5))then //finds color and sets coords where it found to x and y
Mouse(x,y,1,1,true); //Moves mouse humanlike then clicks on coords, the 1,1 are randomness to click...
wait(500); //waits half a second
if(FindColorTolerance(x,y,herbcolor,566,213,735,475,5))then //finds color and sets coords where it is as x and y
Mouse(x,y,1,1,true); //...
end;
begin
setuposi
repeat
Bank;
i:=0; //resets i to 0 so that the potion making loop can do it again 14 times
repeat //starts repeat loop
i:=i+1; //i tracks how many times it's repeated this, in other words how many potions it has made
MakePotions; //...
wait(1500); //waits 1.5 seconds
until(i>=14) //end loop once i is greater then or equal to 14
until(false)
end.