TuSaliHai
01-22-2013, 07:51 PM
I'm currently trying to learn how to script for Project RS06, but I'm slightly confused.
program Chopper;
{$i srl/srl.simba}
Procedure ChopTree;
var x, y: integer;
begin
repeat
if FindObj(x, y, 'hop', 4222092, 5) then
Mouse(x, y, 2, 2, false);
ChooseOption('hop');
repeat
Wait(1200+random(250));
Until not IsUpText('ree') or (InvFull);
until(InvFull);
end;
begin
SetUpSRL;
ActivateClient;
end.
That is my code at the moment, but whenever I run it, nothing happens.
Can anyone push me in the right direction for coding on this server**
P.S I just wanna do really simple stuff, like chop until inventory is full or something all those lines.
Thank you!
Edit: So I just realized that the format used in that script will only work for RuneScape and if I use the SMART/SRL thing
But I still need help!
program Chopper;
{$i srl/srl.simba}
Procedure ChopTree;
var x, y: integer;
begin
repeat
if FindObj(x, y, 'hop', 4222092, 5) then
Mouse(x, y, 2, 2, false);
ChooseOption('hop');
repeat
Wait(1200+random(250));
Until not IsUpText('ree') or (InvFull);
until(InvFull);
end;
begin
SetUpSRL;
ActivateClient;
end.
That is my code at the moment, but whenever I run it, nothing happens.
Can anyone push me in the right direction for coding on this server**
P.S I just wanna do really simple stuff, like chop until inventory is full or something all those lines.
Thank you!
Edit: So I just realized that the format used in that script will only work for RuneScape and if I use the SMART/SRL thing
But I still need help!