Results 1 to 3 of 3

Thread: function ExistsBankItem(Slot: Integer): Boolean

  1. #1
    Join Date
    Jan 2008
    Location
    C:\
    Posts
    1,483
    Mentioned
    2 Post(s)
    Quoted
    2 Post(s)

    Default function ExistsBankItem(Slot: Integer): Boolean

    I posted this in Mat's WithdrawBankS suggestion, but I figured I would just make a separate suggestion thread for it.

    Simba Code:
    function ExistsBankItem(Slot: Integer): Boolean;
    var
      x, y: Integer;
      Box: TBox;
    begin
      if not BankScreen then
        Exit;
      Box := BankIndexToMSBox(Slot);
      Result := FindColor(x, y, srl_outline_black, Box.x1, Box.y1, Box.x2, Box.y2);
    end;

  2. #2
    Join Date
    Feb 2012
    Location
    Wonderland
    Posts
    1,988
    Mentioned
    41 Post(s)
    Quoted
    272 Post(s)

    Default

    I like it!, this way (i think) when you somehow obtain a blank bank space, and you are suppose to withdraw from it, it'll be noticeably empty (to simba I think) on the first try.
    Nonetheless, it's just as handy as the exists item for the inventory imo!
    Last edited by Le Jingle; 07-07-2012 at 09:45 PM.

  3. #3
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    Simple and to the point, nice
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


Thread Information

Users Browsing this Thread

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

Posting Permissions

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