Q
quipeace
Guest
Hi everyone,
I just recently started making scripts for scar, I've made several little scripts and I thought i was ready for the good work
...well I guess I wasn't
I'm making a willowcutter/firemaker using a tutorial about making a woodcutter found on srl-forums.com and another tutorial (also found on srl-forums.com) about things they don't mention in beginner tutorials, that is where the problems begin
if i want to use the antirandoms i get the following error:
Failed when compiling
Line 68: [Error] (68:1): Unknown identifier 'FindTalk' in script C:\Program Files\scar\Scripts\WillowBurnerXL.scar
I have no idea what I'm doing wrong here
anyway, this is what i got so far
I hope theres someone who can help me
Quipeace, a starting scripter
EDIT: I WILL BE BACK IN ABOUT AN HOUR!
I just recently started making scripts for scar, I've made several little scripts and I thought i was ready for the good work
I'm making a willowcutter/firemaker using a tutorial about making a woodcutter found on srl-forums.com and another tutorial (also found on srl-forums.com) about things they don't mention in beginner tutorials, that is where the problems begin
if i want to use the antirandoms i get the following error:
Failed when compiling
Line 68: [Error] (68:1): Unknown identifier 'FindTalk' in script C:\Program Files\scar\Scripts\WillowBurnerXL.scar
I have no idea what I'm doing wrong here
anyway, this is what i got so far
Code:
program WillowBurnerXL;
{.include SRL/SRL.scar}
{.include SRL/SRL/Skill/WoodCutting.scar}
{.include SRL/SRL/Skill/FireMaking.scar}
var //Variables (Don't edit this.)
x: Integer;
y: Integer;
const //Constants (Edit this.)
pin = 'Your bankpin';
user = 'Your Username';
pass = 'Your Password';
////////////////////////////////////////////////////////////////////////////////
procedure Clear;
begin
cleardebug;
end;
////////////////////////////////////////////////////////////////////////////////
procedure Login;
begin
if (FindColor(x,y,16777215,455,290,455,290)) then
begin
//username
wait(2000+random(50));
movemousesmooth(x,y);
wait(500+random(50));
clickmouse(x,y,true);
wait(2000+random(50));
sendkeys(user);
//password
wait(1000+random(50));
sendkeys(pass);
wait(2000+random(50));
end;
end;
////////////////////////////////////////////////////////////////////////////////
procedure DoAntiRandoms;
begin
FindTalk;
FindNormalRandoms;
if (FindFight = true) then
begin
RunAwayDirection('N');
Wait(10000 + random(2000));
RunBack;
end;
end;
////////////////////////////////////////////////////////////////////////////////
begin
SetupSRL;
clear;
login;
end.
I hope theres someone who can help me
Quipeace, a starting scripter
EDIT: I WILL BE BACK IN ABOUT AN HOUR!

