Results 1 to 5 of 5

Thread: gametab checking

  1. #1
    Join Date
    Dec 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default gametab checking

    Can you disable checking for gametabs in a script? For example, if you're autoing in an area that doesn't have gametab4, and you don't want the script to puke because there is no gametab4.

  2. #2
    Join Date
    Jul 2007
    Location
    Massachusetts
    Posts
    896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well, if you are writing your own script, simply don't put it in. If you are using another script, find it in the script (most likely during checking for randoms). If its in a script, however, you should probably leave everything as is. I am not sure about the current SRL version, if this is woven into a function, just open is and copy and paste to make your own version.

    Were wouldn't game tab 4 show?

  3. #3
    Join Date
    Dec 2007
    Location
    Wizzup?'s boat
    Posts
    1,013
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    if (TabExists(Tab)) then
    begin
      ....
      end else
      begin
      ....
      end;
    end;
    ....
    Project: Welcome To Rainbow

  4. #4
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    http://www.villavu.com/forum/showthr...625#post387625

    read the second post, that's what you need to do, and it'll work for allscripts

    i guess that what you meant by puking is:

    " *********** Warning in GameTab: 4*********************** "

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  5. #5
    Join Date
    Dec 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks alll for relying. Yep, that's what I'm referring to. I don't explicitly have it in the script, so it must be woven into FindNormalRandoms; or something. I'll check there first.

    I'm making a kelp picker, but I'm new to SRL programming, so I'm trying to understand how all this fits together.

    If it is a builtin function, that may make things a bit more challenging.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Checking Game Area
    By HarryJames in forum OSR Help
    Replies: 12
    Last Post: 11-10-2008, 03:22 AM
  2. Hey Guys, Just Double Checking.
    By Liquid.Ace in forum OSR Help
    Replies: 15
    Last Post: 06-19-2007, 06:44 PM
  3. checking if char is in a trade.
    By the flea in forum OSR Help
    Replies: 10
    Last Post: 03-04-2007, 09:23 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
  •