Results 1 to 4 of 4

Thread: Is this Efficient?

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

    Default Is this Efficient?

    I wanted to know if this was an efficent way to randomly right click slots 2-28 and deposite all.

    btw this might be convient for anyone that doesn't know:

    procedure Deposit(slot, toslot, thetype: Integer);
    By: WT-Fakawi/PPLSUQBAWLZ/Stupid3ooo/Town
    Description:
    Deposits from Slot to ToSlot.
    Type 2 = All (I am only using type 2), Type 1 = one-by-one.

    SCAR Code:
    begin
        case Random(25) of
          0: Deposit(2, 28, 2);
          1: Deposit(3, 28, 2);
          2: Deposit(4, 28, 2);
          3: Deposit(5, 28, 2);
          4: Deposit(6, 28, 2);
          5: Deposit(7, 28, 2);
          6: Deposit(8, 28, 2);
          7: Deposit(9, 28, 2);
          8: Deposit(10, 28, 2);
          9: Deposit(11, 28, 2);
          10: Deposit(12 28, 2);
          11: Deposit(13, 28, 2);
          12: Deposit(14, 28, 2);
          13: Deposit(15, 28, 2);
          14: Deposit(16, 28, 2);
          15: Deposit(17, 28, 2);
          16: Deposit(18, 28, 2);
          17: Deposit(19, 28, 2);
          18: Deposit(20, 28, 2);
          19: Deposit(21, 28, 2);
          20: Deposit(22, 28, 2);
          21: Deposit(23, 28, 2);
          22: Deposit(24, 28, 2);
          23: Deposit(25, 28, 2);
          24: Deposit(26, 28, 2);
          25: Deposit(27, 28, 2);
        end;
      end;

  2. #2
    Join Date
    Apr 2007
    Location
    Michigan -.-
    Posts
    1,357
    Mentioned
    2 Post(s)
    Quoted
    4 Post(s)

    Default

    Shorter way:

    SCAR Code:
    program New;
    {.include SRL\SRL.scar}
    var i: integer;
    begin
      SetupSRL;
      Wait(1000);
      i := 1 + random(27);
      Deposit(i,28,2);
    end.

    hope that helps ya
    METAL HEAD FOR LIFE!!!

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

    Default

    OMG! duh I was sooo stupied, I coulda thought of that. Lamo thanks a lot tho.

  4. #4
    Join Date
    Apr 2007
    Location
    Michigan -.-
    Posts
    1,357
    Mentioned
    2 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by osmm View Post
    OMG! duh I was sooo stupied, I coulda thought of that. Lamo thanks a lot tho.
    haha thats fine, happens to the best of us
    METAL HEAD FOR LIFE!!!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. == Fast Efficient Bucket Filler and Clay Softner ==
    By BazzBarrett in forum RS3 Outdated / Broken Scripts
    Replies: 11
    Last Post: 04-08-2009, 03:49 PM
  2. Which is more efficient (faster)? Arrays or Constants!
    By Sandstorm in forum News and General
    Replies: 12
    Last Post: 12-02-2008, 10:27 PM
  3. Function ideas to make mining/wc scripts more efficient. READ
    By Atomic1221 in forum RS3 Outdated / Broken Scripts
    Replies: 4
    Last Post: 11-22-2008, 06:33 PM
  4. Efficient Utilization of Run Energy in Scripts.
    By L3ss Than 33 in forum Bot Information and Spottings
    Replies: 8
    Last Post: 02-03-2008, 09:56 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
  •