Results 1 to 6 of 6

Thread: Help: Scroll and search all items in bank?

  1. #1
    Join Date
    Mar 2012
    Location
    Grambling, LA
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Smile Help: Scroll and search all items in bank?

    hi,
    I have been trying to implement scrolling the bank items, one row at a time, and searching the object (DTM, TPA, BMP, or whatever).
    It seems to be a useful one time function, because runescape remembers the last bank position.

    Does SRL have something predefined to perform such action? Or, do I have to create my own Procedure?

  2. #2
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    If you know what the object is called, then SearchBank will do fine.
    Simba Code:
    SearchBank('Willow Logs')
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  3. #3
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    IIRC, Home or Flight (one of those two) made a function for this.

  4. #4
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  5. #5
    Join Date
    Mar 2012
    Location
    Grambling, LA
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Rich View Post
    If you know what the object is called, then SearchBank will do fine.
    Simba Code:
    SearchBank('Willow Logs')
    Thanks a lot. It works!!!

    I am searching for "Maple logs"
    However, I was worried that "typing the search keywords every time you withdraw items might seem bot like."
    For easiness, I just dragged the "Maple logs", and put it in a new tab, and selected that tab. So, everytime I bank again, "Maple logs" is visible.

    Is there other ways we can scroll to the position of "Maple logs" using one time search function?
    Please forgive me, if I am being too difficult.
    Appreciate your cooperation.
    Last edited by johnbrown8976; 05-16-2012 at 03:58 AM.

  6. #6
    Join Date
    Nov 2011
    Location
    United States
    Posts
    815
    Mentioned
    6 Post(s)
    Quoted
    284 Post(s)

    Default

    Its easiest to just put the logs in the First slot in bank, or in a different tab, Click rich's link though, it has this in it.

    function SearchBankEx(var X, Y : Integer; Item : string; TextOrDTM : Integer) : Boolean;


    Searches for bank for Item. If Item is exact name, set UseDTM false and set DTM
    as 0, else set it true and DTM is the name of your DTM. If not UseDTM, will
    return true on item existing in bank slot 1, else will return true on DTM being
    found. X, Y will be where it's found.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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