alright, i got back from a break from scripting, and i need to figure out a way to find bmps and do a procedure, right now i have this here:
SCAR Code:
procedure telekineticmaze;
label
ComeBack;
begin
EnterPortal;
if not loggedin then NextPlayer(Players[CurrentPlayer].Active);
begin
Loadbtms;
ComeBack:
begin
if (AutoColorThis(mazefinder_1, 15, MMX1, MMY1, MMX2, MMY2) > 0) then
maze1;
if (AutoColorThis(mazefinder_2, 15, MMX1, MMY1, MMX2, MMY2) > 0) then
maze2;
if (AutoColorThis(mazefinder_3, 15, MMX1, MMY1, MMX2, MMY2) > 0) then
maze3;
if (AutoColorThis(mazefinder_4, 15, MMX1, MMY1, MMX2, MMY2) > 0) then
maze4;
if (AutoColorThis(mazefinder_5, 15, MMX1, MMY1, MMX2, MMY2) > 0) then
maze5;
if (AutoColorThis(mazefinder_6, 15, MMX1, MMY1, MMX2, MMY2) > 0) then
maze6;
if (AutoColorThis(mazefinder_7, 15, MMX1, MMY1, MMX2, MMY2) > 0) then
maze7;
if (AutoColorThis(mazefinder_8, 15, MMX1, MMY1, MMX2, MMY2) > 0) then
maze8;
if LawsUsed < Law then goto ComeBack;
Freebmps;
end;
end;
end;
if there is any better way to do this then tell me.
i know people helped me with this before the break but i forget what they said and i just kind of want to know if there is something new out there haha