View Full Version : Help with a 5 lined script!
slackeru
10-23-2008, 11:37 AM
what is Identifier?
i get this:
Line 3: [Error] (3:1): Identifier expected in script
my script:
program FindLogin;
begin
procedure ClickMouseSpline(352, 176, 413, 189: Integer; Left: True);
end;
end.
i just want my mouse to find and click the login button.
Bonfield
10-23-2008, 11:49 AM
here i made it compile
program FindLogin;
procedure login;
begin
ClickMouseSpline(352, 176, 413, 189, True);
end;
begin
login;
end.
you do not need to add the words integer or true, if you are trying to creat a login procedure try looking through login.scar
also it would really help to look through some tutorials to get the basic ideas of scar and srl
slackeru
10-23-2008, 03:29 PM
that file is broken i think?
the new login screen u know, and in that file its setting up graphic settings and that tab isnt in the same place that it used to be, it should be updated.
but thx alot!
btw, that last thing u got there?
begin;
login;
end.
why did u add that?
Thats called a MainLoop so it will run in the order you specify. So you can do
Begin
one;
two;
three;
end.
And you can change the order
Begin
Three;
One;
Two;
end.
A MainLoop is essential to any script!
slackeru
10-23-2008, 07:27 PM
oh so if:
Begin
Three; function pee
One; function piss
Two; function sleep
end.
its will do those threee in that order?
and continue, after two it will go to the top and pee again?
noidea
10-23-2008, 07:34 PM
oh so if:
Begin
Three; function pee
One; function piss
Two; function sleep
end.
its will do those threee in that order?
and continue, after two it will go to the top and pee again?
For that you must add a repeat and and until.so this.
Begin
repeat
Three;// function pee //SCAR doesnt read the stuff after the //
One;// function piss
Two; //function sleep
until (false)
end.
THat will make it repeat until you stop the script.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.