jamesss
2012-06-21 14:15:05
hello everyone, new to scripting, just got a few questions about my script i quickly wrote
yeah i know the codes all over the place but i used Script down your first rs tree by griff (thanks great tutorial) and edited it to see what i can get to work :P and also watched YoHoJo videos (thank you too :D) but few things i wanna ask:
1:dropping whole inv or even certain items?
2: when i stop the script and play again it closes smart and opens it again but i need it to just start only after editing it
3: why does my mouse move around alot then ages after it finds the rat :P
sorry the post is so long :( just need to get a few things clear lol.
edit: its for rats in lummy swamp… the dark bit :P
Program BasicScriptTutorial;
{$DEFINE SMART}
{$i srl/srl.simba}
Procedure DeclarePlayers;
begin
HowManyPlayers := 1
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name :=''; // Enter your username/email.
Players[0].Pass :=''; //Enter Your password.
Players[0].Active := True; //change to False if you don't wanna use this char.
Players[0].Pin := ''; //enter your bank pin(if you have one).
end;
procedure attack;
var x, y: integer;
begin
repeat
if FindObj(x, y, 'ttack', 1907998, 10) then
Mouse(x, y, 0, 0, false);
ChooseOption('ttack');
repeat
wait(5000+random(600));
Until not IsUpText('ew') or (InvFull);
until(InvFull);
end;
begin
attack;
end. yeah i know the codes all over the place but i used Script down your first rs tree by griff (thanks great tutorial) and edited it to see what i can get to work :P and also watched YoHoJo videos (thank you too :D) but few things i wanna ask:
1:dropping whole inv or even certain items?
2: when i stop the script and play again it closes smart and opens it again but i need it to just start only after editing it
3: why does my mouse move around alot then ages after it finds the rat :P
sorry the post is so long :( just need to get a few things clear lol.
edit: its for rats in lummy swamp… the dark bit :P