SRL Archive - OSR Help

[Error] (89:1): Identifier expected at line 88 Compiling failed.


Chrome

2012-02-10 09:53:03

begin
SetupSRL;
DeclarePlayers;
SetupPlayer;
SetupScript;
repeat
GoBank;
end; //Line 88
I need help with the main loop ^^

Olly

2012-02-10 10:03:44

You want to keep repeating gobank? if so;

begin
SetupSRL;
DeclarePlayers;
SetupPlayer;
SetupScript;
repeat
GoBank;
Until(false)
end; //Line 88

That will repeat GoBank untill you manually stop it.
your repeat didn't have a until :p

Kyle Undefined

2012-02-10 10:05:55

repeat
GoBank
until({condition});

You forgot the until() for the repeat.

Chrome

2012-02-10 10:34:39

ok thanks guys ^^ Im testing banking