Results 1 to 6 of 6

Thread: Ordering Procedures?

  1. #1
    Join Date
    Feb 2007
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Ordering Procedures?

    Hi, I was just wondering if there is a way to order the procedures so that the script will first do Step A, then Step B, etc?

  2. #2
    Join Date
    Sep 2006
    Location
    West U.S.
    Posts
    2,172
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    thats easy...

    the procedures and functions can all be out of order but its your mainloop at the end (or beginning i dunno) that really counts..

    download some people's scripts and youll see what i mean

    They are sisters...
    Runescape Classic

  3. #3
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    SCAR Code:
    program New;
    {.include SRL/SRL.scar}

    procedure proc2;
    begin
      writeln('bye');
    end;


    procedure proc1;
    begin
      writeln('hello');
    end;


     
    begin
      SetupSRL;
      proc1;
      proc2;
    end.

  4. #4
    Join Date
    Sep 2006
    Location
    West U.S.
    Posts
    2,172
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by Boreas View Post
    SCAR Code:
    program New;
    {.include SRL/SRL.scar}

    procedure proc2;
    begin
      writeln('bye');
    end;


    procedure proc1;
    begin
      writeln('hello');
    end;


     
    begin
      SetupSRL;
      proc1;
      proc2;
    end.
    yep like that one^^^^^

    They are sisters...
    Runescape Classic

  5. #5
    Join Date
    Feb 2007
    Location
    USA
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    If there wasn't a way to make sure it did step A and then step B, then there would be no macros

    It's kinda important that the script mines the rock before it tries to bank.

  6. #6
    Join Date
    Feb 2007
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ah I see now, thanks.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Ok, I cant get my procedures to run.....
    By mikevskater in forum OSR Help
    Replies: 7
    Last Post: 01-27-2008, 04:30 PM
  2. Ordering co-ords
    By rogeruk in forum OSR Help
    Replies: 3
    Last Post: 10-16-2007, 11:35 PM
  3. Help with procedures :s
    By Macro_FTW in forum OSR Help
    Replies: 1
    Last Post: 05-02-2007, 02:15 AM
  4. better procedures?
    By lilboy543 in forum OSR Help
    Replies: 3
    Last Post: 04-25-2007, 01:15 AM

Posting Permissions

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