so ive beening trying to make a yew cutter but got annoyed of making the finding function so im trying make the loop
So how would i break out of the If Then but not the Repeat Until Loop?
SCAR Code:
Function CutTillFull:Boolean;
Begin
If Not LoggedIn Then Exit;
Repeat
If InvFull Then
Begin
Reult := True
Exit;
End;
If Not CuttingYews Then
Begin
If TpaFind(1,'ew') Then
Begin
If Not IsUpText('ew') Then
//Here i want to break out of the If Then but not the Repeat Until loop
GetMousePos(x,y);
If Random(10)=5 Then
Begin
Mouse(x,y,0,0,False);
ChooseOption('ew');
End Else
Mouse(x,y,0,0,True);
End;
End;
Until(False);
End;
Thanks
~Rya
Edit: If some one could add me on msn tp help me that would be great