Results 1 to 6 of 6

Thread: function FRandFlag(Distance: Integer) : boolean;

  1. #1
    Join Date
    Nov 2007
    Location
    Nowhereville
    Posts
    1,155
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default function FRandFlag(Distance: Integer) : boolean;

    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:

    SCAR Code:
    {//////////////////////////////////////////////////
    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;
    begin
      Result := False;
      while FlagPresent do
      begin
        if FindNormalRandoms then Result := True;
        if CountFlag(Stuff) = Distance then Break;
      end;
      if Result then Writeln('Found random while walking.');
    end;

    Thanks,
    Cut em2 it
    Formerly known as Cut em2 it

  2. #2
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    no randoms when walking.
    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  3. #3
    Join Date
    Jul 2007
    Posts
    1,431
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Rasta Magician View Post
    no randoms when walking.
    ~RM
    I disagree, I'v got few while walking...bu yes they are rare...

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

    First,
    SCAR Code:
    if FindNormalRandoms then Result := True;

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

    SCAR Code:
    if CountFlag(Stuff) = Distance then Break

    Second, because your lagging you will miss it 99% of chance, it should be "=<" anyways
    [CENTER][SIZE="4"]Inactive[/SIZE]I forgot my password[/CENTER]

  4. #4
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    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....

  5. #5
    Join Date
    Jun 2007
    Location
    La Mirada, CA
    Posts
    2,484
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    FFlag(); ftw? FFlag does distance from the flag on the MM or one is already made... i believe it is FFlag();

    "Failure is the opportunity to begin again more intelligently" (Henry Ford)


  6. #6
    Join Date
    Jun 2007
    Posts
    785
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    flag doesn't do antibanz lol

    [22:20] <[-jesus-]> freddy, go uninstall yourself

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •