ScriptKid
2012-01-26 14:55:40
Okay, so I have watch YoHo's tuts and read Griffs' tutorial on forums…I tried to create an Ivy script for my first one(My real goal is an enchanting script).
The first script I made it would click on regular trees and if it right clicked it wouldn't choose chop. And even after I did repeat, until(false); it would just cut one tree and stop. Now this script(Ivy) won't even click the Ivy. It minimizes Simba, and then moves the mouse to the bottom right corner of my screen and stops.
Can anyone help me out? I'd really like to learn how and start scripting. Thanks in advance.
The first script I made it would click on regular trees and if it right clicked it wouldn't choose chop. And even after I did repeat, until(false); it would just cut one tree and stop. Now this script(Ivy) won't even click the Ivy. It minimizes Simba, and then moves the mouse to the bottom right corner of my screen and stops.
program ChopIvy;
{$i srl/srl.simba}
Procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(1);
CurrentPlayer :=0;
Players[0].Name :='';
Players[0].Pass :='';
Players[0].Nick :='';
Players[0].Active:=True;
end;
procedure AntiBan;
begin
if(not(LoggedIn))then
Exit;
FindNormalRandoms;
case Random(8) of
0:
begin
HoverSkill('Woodcutting', false);
wait(2453+Random(432));
end;
1: PickUpMouse;
2:
begin
MakeCompass('N');
wait(100+random(133));
MakeCompass('S');
wait(50+random(133));
MakeCompass('N');
end;
end;
end;
procedure ChopIvy;
var x, y: integer;
begin
if FindObj(x, y, 'hop', 3959634, 35) then
Mouse(x, y, 0, 0, false);
ChooseOption('hop');
repeat
Wait(1100+random(250));
Until not IsUpText('vy') or (InvFull);
end;
begin
SetUpSRL;
ActivateClient;
DeclarePlayers;
ChopIvy;
end. Can anyone help me out? I'd really like to learn how and start scripting. Thanks in advance.