Results 1 to 4 of 4

Thread: Counting

  1. #1
    Join Date
    Jul 2008
    Location
    Canada
    Posts
    1,612
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Counting

    Just wondering how would i count the amount of loads i went from the fishing spot to the bank?

    2)How would i count a number of things in my bank?

    3)^.or make it count how much fish i got but that would be simple if i knew the loads..

    like Loads * 27 (27 fish, 1 rod)

  2. #2
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    1) inc(Loadz);
    2)Look in amount.scar
    3)CountDTM
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  3. #3
    Join Date
    Oct 2007
    Location
    http://ushort.us/oqmd65
    Posts
    2,605
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    If you don't actually count you could just:

    SCAR Code:
    program new;
      var
      loads:integer

    begin
      repeat
      yourloop;
    until invfull;
      walktobank
      if atbank then
      begin
        loads := loads + 1;
        bank;
        walkback;
      end else
      writeln('Never made it to bank');
    end.
    I do visit every 2-6 months

  4. #4
    Join Date
    Jul 2008
    Location
    Canada
    Posts
    1,612
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ahh, thanks, i was getting on to something like this.

    So in the progress report for example it would be like..

    Writeln('You have done (loads) loads etc...
    with inttostr etc..

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Counting runes
    By trojan in forum OSR Help
    Replies: 7
    Last Post: 02-10-2009, 10:13 PM
  2. Counting Inv?
    By Prince in forum OSR Help
    Replies: 3
    Last Post: 02-17-2008, 07:46 PM
  3. Counting In Inv
    By [S]paz in forum OSR Help
    Replies: 10
    Last Post: 01-19-2008, 01:12 PM
  4. Counting Kebabs
    By The Claw in forum OSR Help
    Replies: 9
    Last Post: 05-06-2007, 11:21 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
  •