I was wandering what Break means? People use it like if, then, break. what does the break do? Please give as much as detail as possible. And anyone also show me what the break in this script does? :
SCAR Code:
procedure MinedaRock;
var BlackText: string;
begin
MakeCompass('N');
SetAngle(True);
repeat
if Not(LoggedIn) then exit;
Replylaugh;
if not FindObjCustom(x, y, ['ocks', 'ine'], [2832993], 3) then
Wait(900 +random(250));
if FindObjCustom(x, y, ['ocks', 'ine'], [2832993], 3) then
Makesurepick;
FindGas;
Leveled;
Mouse(x, y, 1, 1, True);
Myrandom;
If (Pos('anage', BlackText) <> 0) or (Pos('vailable', BlackText) <> 0) then break;
If (Pos('wing', BlackText) <> 0)then
Wait(1950+ random(150));
If (Pos('anage', BlackText) <> 0) or (Pos('vailable', BlackText) <> 0) then break;
Wait(WaitPerRock +random(500));
until InvFull;
if InvFull then
begin
writeln( 'Inventory Full walking to bank.' );
end;
end;
ALL HELP WOULD BE APPRECIATED AND REPPED!