Results 1 to 8 of 8

Thread: InvCount + InvFull Broken?

  1. #1
    Join Date
    May 2008
    Posts
    1,345
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default InvCount + InvFull Broken?

    It seems to stop and sit for me when I try to use them. Does anyone know why? I have Rev #28.

  2. #2
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    They both work fine for me.

  3. #3
    Join Date
    May 2008
    Posts
    1,345
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Odd, because it always idles at either of them for me :/.

    I use this:

    If InvFull Then

    That right?

  4. #4
    Join Date
    Feb 2007
    Location
    Alberta,Canada
    Posts
    2,358
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    if (InvFull) then

    and yeah that shoud work, it works for me.

    Your walking/procedure that comes after that, is either called upon wrong or isnt working properly, such as if you call on ddtm walking after, but it cant find the ddtm.
    “Ignorance, the root and the stem of every evil.”

  5. #5
    Join Date
    May 2008
    Posts
    1,345
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    No, I have this:

    If InvFull Then
    DropAll;

  6. #6
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    if InvFull then = if(InvFull)then

    The parentheses never make a difference unless it uses I believe a declarative variable (?).

    And, hmmm. Idk what to tell you.

  7. #7
    Join Date
    Feb 2007
    Location
    Alberta,Canada
    Posts
    2,358
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    the parenthesis calls the result true correct? for example
    SCAR Code:
    if result then

    doesnt declare the result as true as

    SCAR Code:
    if (result) then

    i think anyways, try adding parenthesis around the invfull, if that doesnt work post script and ill give you some help.

    -Blumblebee
    “Ignorance, the root and the stem of every evil.”

  8. #8
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    if Result then

    does the same thing as

    SCAR Code:
    if(Result)then

    as both of them return true.

    Same as:

    SCAR Code:
    if not Result then

    does the same as

    SCAR Code:
    if(not(Result))then

    Adding the parentheses won't make a difference.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. InvFull
    By D1zl3 in forum OSR Help
    Replies: 21
    Last Post: 11-11-2008, 06:16 AM
  2. InvFull issues
    By spamthis in forum OSR Help
    Replies: 4
    Last Post: 09-21-2008, 03:54 PM
  3. First script.. need help with invfull
    By Maiki in forum OSR Help
    Replies: 14
    Last Post: 10-02-2007, 09:05 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
  •