Mysickname
2013-03-27 07:44:22
hey guys kinda new to rs 07 scripting, was just wondering how do i get the mouse to click
basically im trying to get to 53 theving in 07 and cba training it legit,
this is my code:
function PickpocketFarmer:boolean;
var X,Y : integer;
begin
P07_MakeCameraAngleHigh;
if (FindObjCustom(X,Y,['Pick'],[611945,5734778,3888978], 2)) then
begin
mouse(x,y,5,5,true);
end;
wait(600);
writeln('Pickpocketed MFarmer');
end;
//main start
begin
MouseSpeed:= 15;
repeat
PickpocketFarmer;
until false;
writeln('hello');
end.
the bot just seems to hover over the Masterfarmer repeatedly, can someone tell me what i'm doing wrong?
any help will be greatly appreciated cheers.
basically im trying to get to 53 theving in 07 and cba training it legit,
this is my code:
function PickpocketFarmer:boolean;
var X,Y : integer;
begin
P07_MakeCameraAngleHigh;
if (FindObjCustom(X,Y,['Pick'],[611945,5734778,3888978], 2)) then
begin
mouse(x,y,5,5,true);
end;
wait(600);
writeln('Pickpocketed MFarmer');
end;
//main start
begin
MouseSpeed:= 15;
repeat
PickpocketFarmer;
until false;
writeln('hello');
end.
the bot just seems to hover over the Masterfarmer repeatedly, can someone tell me what i'm doing wrong?
any help will be greatly appreciated cheers.