Results 1 to 8 of 8

Thread: Help! How does Scar find out when Inv Is full?

  1. #1
    Join Date
    Sep 2008
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Help! How does Scar find out when Inv Is full?

    I need to know a code for when my Inventory is full and it says something like "you cannot hold anymore." From there I guess i'll use "clickmouse" then on mage book and teleport to Falador.. Btw i wanted to ask if Clickmouse is detectable and if findcolor is detectable aswell.. Thanks in advance, you rule

  2. #2
    Join Date
    May 2007
    Location
    Netherlands, Amersfoort
    Posts
    2,701
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    InvFull: boolean;

    you need to include srl first, obviously.

    SCAR Code:
    Repeat
      ...
    Until InvFull

    If InvFull Then ...

  3. #3
    Join Date
    Sep 2008
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    so like I would do something like this

    If InvFull = True Then
    blalbla?

  4. #4
    Join Date
    May 2007
    Location
    Netherlands, Amersfoort
    Posts
    2,701
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    I was editing it in my first post lol

    SCAR Code:
    Repeat
      ...
    Until InvFull
     
    If InvFull Then ...

  5. #5
    Join Date
    Sep 2006
    Location
    include srl/srl.scar ( aussie)
    Posts
    2,875
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    No InvFull is a boolean so use like

    if InvFull then
    Blahhh

    or


    If not InvFull Then
    blahh

  6. #6
    Join Date
    Sep 2008
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by MasterKill View Post
    InvFull: boolean;

    you need to include srl first, obviously.

    SCAR Code:
    Repeat
      ...
    Until InvFull

    If InvFull Then ...
    awesome So i'm gonna give you my code... Tell me if I put the invfull in right place

    Code:
    Repeat
    
    if (FindColorSpiralTolerance(x, y, WINECOLOR, MSX1, MSY1, MSX2, MSY2, 3)) Then
    Cast('Telekinetic Grab');
    wait(500);
    Mouse(x,y,1,1,true);//this clicks it
    
    Until InvFull
    
    If InvFull Then
    
    Cast(Falador Teleport);
    Would that work correctly? ^.^

    OR!! Would I use it like this

    [code]
    Repeat

    TelgrabWine; (the procedure telegrabwine; thing)

    Until InvFull

    If InvFull Then
    Cast('Teleport To Falador')
    ? :O

  7. #7
    Join Date
    May 2007
    Location
    Netherlands, Amersfoort
    Posts
    2,701
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    Repeat
        if (FindColorSpiralTolerance(x, y, WINECOLOR, MSX1, MSY1, MSX2, MSY2, 3)) Then
        Begin
          Cast('Telekinetic Grab');
          wait(500);
          Mouse(x,y,1,1,true);//this clicks it
        End;
      Until InvFull
      Cast(Falador Teleport);

    and do not dubble post please, edit your last post.

  8. #8
    Join Date
    Sep 2008
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by MasterKill View Post
    SCAR Code:
    Repeat
        if (FindColorSpiralTolerance(x, y, WINECOLOR, MSX1, MSY1, MSX2, MSY2, 3)) Then
        Begin
          Cast('Telekinetic Grab');
          wait(500);
          Mouse(x,y,1,1,true);//this clicks it
        End;
      Until InvFull
      Cast(Falador Teleport);

    and do not dubble post please, edit your last post.
    *Double*

    and Sorry =[ Just soo eager to get my first script up and running ^.^

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Your Full Guide to Preparing to Auto [SCAR, SRL, SVN, HowTo Auto]
    By Runescapian321 in forum Outdated Tutorials
    Replies: 71
    Last Post: 10-11-2008, 03:46 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
  •