I have almost finished the MOST NOOBY WILLOW SCRIPT EVER.
All I need to know to finish it is how to make a script reapeat. Thx
Yes, I do expect to get some "'s"
I have almost finished the MOST NOOBY WILLOW SCRIPT EVER.
All I need to know to finish it is how to make a script reapeat. Thx
Yes, I do expect to get some "'s"
SCAR Code:var
C: Integer;
begin
repeat
C := C + 1;
WriteLn('yeaj');
until( c >= 5); {not logged in //etc}
end.
just a basic repeat loop.
Thanks!!
![]()
You can try
But its never ending so its dangerousSCAR Code:var
C: Integer;
begin
repeat
C := C + 1;
WriteLn('yeaj');
until(false); {not logged in //etc}
end.
To add a repeat into your script, you'll need to add repeat above whatever you want to keep repeating. Then, put an Until part after when you want it to stop repeating. But you have to put brackets after the Until. If i just want it to keep repeating no matter what i would put a False inside of the brackets.
Example:end.SCAR Code:begin
repeat
ClearDebug;
Writeln('This is repeating forever. It cannot be ended until i close SCAR');
Writeln(' Or Terminate the script via a Hot Key or via the button.');
Until(False);
You may contact me with any concerns you have.
Are you a victim of harassment? Please notify me or any other staff member.
| SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |
There are currently 1 users browsing this thread. (0 members and 1 guests)