SRL Archive - Help

Help with Scar Please


Kalorn92

2010-09-18 16:08:10

Im using scar script and i cannot get it to end my end with a semicolon so it reads on with the script

const
light2=932204;
begin
while (light2=932204)
do
{var
x,y:integer;
const
light2=932204;
begin
findcolor(x,y,light2,372,192,396,218);
end;}
end. <——————- I need to know how to make this end; without getting errors.
var
x,y:integer;
const
light1=3060196;
begin
if findcolor(x,y,light1,372,192,396,218)
then SendArrowWait(0,10);
end.

i luffs yeww

2010-09-18 16:29:37

Take out the first begin and the "end." (And remove the { }'s..) Should work (or at least compile).

BraK

2010-09-18 18:00:13

Please Use Tags next time. It makes things easier to read and help with.

~BraK

bugger0001

2010-09-20 12:29:49

I think you need some guidance about Scar/Simba(/PascalScript) syntax.

Here's a nice tutorial for you ;)

BraK

2010-09-20 12:41:32

[OffTOPIC]Lol Bugger I was wondering why I saw you digging around the Beginner's Tutorial's. [/OFFTOPIC]

There are a lot of good tutorial's out there that will cover the Basics. Look Around and see what you can find here.