From: benjaa
And failsafes
procedure Clikin;
begin
if(not LoggedIn)then exit;
CastOn('curse', 'amorak', 3949474, 10);
Wait(RandomRange(2000, 3500));
end;
why not something more like
procedure Clikin;
var
I: Integer;
begin
if ( I = 10 ) then Nextplayer(False); //you can change 10 to any number you deem proper.
//So If "I" ends up reaching/equalling (if thats a word) then it goes to the next player.
if(not LoggedIn)then exit;
if not CastOn('curse', 'amorak', 3949474, 10) then
begin
WriteLn('Can'#39't Find Whatever it is this scripts supposed to be finding'); // #39 = ' (incase you were wondering)
Inc(I); // "I" is increased everytime the script does not find the npc
end else
I := 0; //"I" is reset if the CastOn() is sucessful.
Wait(RandomRange(2000, 3500));
end;
This only works if CastOn() is a boolean, which I'm pretty sure it is. if there's anything you dont understand, I'll try to go through it a bit more carefully. Hope it helps
Edit: You left your username and pass in your script! I'll pm you the new one.