Hey,
I have recently started to learn SCAR and I am progressing very fast.
One thing I wonder is the way to include a repeat option in SCAR.
I just can't get it to work.......
Any example of a working simple script would be helpful.
Thanks,
Fort Ash
Hey,
I have recently started to learn SCAR and I am progressing very fast.
One thing I wonder is the way to include a repeat option in SCAR.
I just can't get it to work.......
Any example of a working simple script would be helpful.
Thanks,
Fort Ash
SCAR Code:begin
SetUp;
repeat
AntiBan;
SearchForTraps;
AntiRandom;
NAFOutFight;
DontDie;
until false;
end.
thats just part of a main loop, but it gets the general point across.
SCAR Code:Begin
Repeat
ReadLn('Spam!');
Until(False);
End.
![]()
Hey,
Wooooo...... That was fast!
Thanks guys!
Fort Ash



Just a note: the "until false;" part means it will repeat forever, because it will keep repeating until whatever is after "until" is true. Since false is never true, it will go on forever.



Not really. There are some places where they are useful.



Brute forcing algorithms.
Hey,
I'll keep that in mind.
Fort Ash
There are currently 1 users browsing this thread. (0 members and 1 guests)