Thanks everyone! Sorry for just leaving this thing hanging. School exams took up a lot of time and had to put my project on the back burner. I now have a different issue. For some reason I am having trouble getting this to work:
Code:
procedure setupinv();
begin
if not getInvcount() = 1 and not item_Cake.inInventory() then
begin
Shutdown := True;
sdReason := 'Do not have rockcake';
Exit;
end else
begin
if item_Ovl.getAmount(True)<16 then
begin
if obj_ovltank.find() then
fastClick(mouse_right);
waitOptionMulti(['Take'],250);
wait(3000);
typesend('64', True);
end
else
writeln('sucks to suck');
end;
end;
I'm having issues at the "if item_Ovl.getAmount(True)<16 then" part. It returns false but will return true if run by itself.