Log in

View Full Version : Help with Scar Please



Kalorn92
09-18-2010, 08:08 PM
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
09-18-2010, 08:29 PM
Take out the first begin and the "end." (And remove the { }'s..) Should work (or at least compile).

BraK
09-18-2010, 10:00 PM
Please Use Tags next time. It makes things easier to read and help with.

~BraK

bugger0001
09-20-2010, 04:29 PM
I think you need some guidance about Scar/Simba(/PascalScript) syntax.

Here's a nice tutorial for you ;) (http://villavu.com/forum/showthread.php?t=32990)

BraK
09-20-2010, 04:41 PM
Lol Bugger I was wondering why I saw you digging around the Beginner's Tutorial's.

There are a lot of good tutorial's out there that will cover the Basics. Look Around and see what you can find here (http://villavu.com/forum/forumdisplay.php?f=95).