I am currently editting the auto-ranger "shoot em up ranger" and so far i have added arrow equiping to it, but i would also like to have it log out every few minutes to avoid randoms, like in forefeathers, and i wasnt exactley sure how i was supposed to do that. This is what i put into my main script in order to try it out. (I got this piece from forefeathers, i am not tryign to take it as my own idea) If anyone could tell me how i would go about doing this that would be great, ill give +rep
PHP Code:Begin
Setup;
InitPlayer;
Repeat
EquipArrows;
If(KillHPBars)Then
Begin
If(Not PickUpArrows)Then
Break;
End Else KillMinotaur;
Wait(1000+Random(250)); //this is where i tried to put it in
if not(loggedIn) then //from here down
begin
logout;
if HowManyPlayers<=1 then
begin
players[currentplayer].active:=false;
break;
end;
nextplayer(false);
ck:=0;
loginPlayer;
marktime(s);
end;
if timefrommark(s)>900000 then
begin
logout;
if HowManyPlayers=1 then
begin
xWait:=random(60000);
marktime(minMark);
repeat
wait(1000);
status(inttostr((xWait-timefrommark(minMark))/1000)+' seconds');
until(timefrommark(minMark)>xWait);
end;
nextplayer(true);
ck:=0;
marktime(s);
loginPlayer;
end;
until(false);
end.
End.


Reply With Quote









^


