View Full Version : function FRandFlag(Distance: Integer) : boolean;

01-30-2008, 03:15 AM
This function will wait for the flag to reach the distance specified, the special thing is that it will search for randoms. Here it is:

function FRandFlag(Distance: Integer) : boolean
Author : cut em2 it
Description: Waits until flag is within distance and results true if finds randoms while waiting.
function FRandFlag(Distance: Integer) : boolean;
var Stuff: integer;
Result := False;
while FlagPresent do
if FindNormalRandoms then Result := True;
if CountFlag(Stuff) = Distance then Break;
if Result then Writeln('Found random while walking.');

Cut em2 it

Sir R. M8gic1an
01-30-2008, 06:42 PM
no randoms when walking.

01-30-2008, 08:57 PM
no randoms when walking.

I disagree, I'v got few while walking...bu yes they are rare...

Cut em it, you didn't tested it -.-

if FindNormalRandoms then Result := True;

This makes you lagg hard, even FtWait() doesnt fit here...

if CountFlag(Stuff) = Distance then Break

Second, because your lagging you will miss it 99% of chance, it should be "=<" anyways

02-01-2008, 01:19 AM
Agreed itl lagg the shit outa it, honestly itle be like... shows runescape. finaly you can pause your script 20 years later. and runescape isn't even up haha.. yeah it will lag so bad....

02-01-2008, 02:13 AM
FFlag(); ftw? FFlag does distance from the flag on the MM or one is already made... i believe it is FFlag();

02-01-2008, 04:16 PM
flag doesn't do antibanz lol