Results 1 to 14 of 14

Thread: counting stacks?

  1. #1
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default counting stacks?

    is there a function that counts items in stacks?

  2. #2
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    SCAR Code:
    {.include SRL/SRL/Misc/Amount.scar}

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

    Default

    not quite sure what you mean like in notes?

  4. #4
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    yea or runes

    for example 100 fire runes how would you get it to detect the 100 but im gooing to look at the amount thing i just didnt know really where in SRL to look thanks.

  5. #5
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Np

    You can also press F1 while you're in SCAR to bring up the SCAR manual. Very helpful

  6. #6
    Join Date
    Mar 2007
    Posts
    3,681
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Jason2gs View Post
    SCAR Code:
    {.include SRL/SRL/Misc/Amount.scar}
    this should do the trick !

    btw Jason2gs u beat me in less than 6 secs rofl

  7. #7
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    iSpy, mate

  8. #8
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    lol well thanks everyone but a question
    the function is getamount(itemx,itemy) am i correct?
    if so where do i have to have the coordinates for the item?
    is it supposed to be like anywhere on the item or the middle?

  9. #9
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    I was confused by this when I first saw that function, as well. You put in the coords for the area that's right in the middle of the item, I believe. If that doesn't work, try the number.

  10. #10
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    ok will do thanks again for the help

  11. #11
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Np

    Have fun scripting!

  12. #12
    Join Date
    Mar 2007
    Posts
    3,681
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Jason2gs View Post
    iSpy, mate

    ohhh i got to start using it :P

  13. #13
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    You should. It's great

  14. #14
    Join Date
    Mar 2007
    Posts
    3,681
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Jason2gs View Post
    You should. It's great
    holy shit tis really cool i like its cz of the real-time :P!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Counting Inv?
    By Prince in forum OSR Help
    Replies: 3
    Last Post: 02-17-2008, 07:46 PM
  2. Counting In Inv
    By [S]paz in forum OSR Help
    Replies: 10
    Last Post: 01-19-2008, 01:12 PM
  3. How to count stacks in main inventory
    By lefamaster in forum OSR Help
    Replies: 1
    Last Post: 04-06-2007, 06:00 PM

Posting Permissions

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