Results 1 to 5 of 5

Thread: Repeating

  1. #1
    Join Date
    Aug 2006
    Location
    USA
    Posts
    354
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Repeating

    I been trying to script this for awhile now but, I cant seem to figure how to get 2 procedure repeating at the same time.

    IE:
    mainloop
    Repeat
    clicking;
    longloophere;
    until(knowledge= 10)

    {at the same time as mainloop}

    Repeat
    typing;
    shortloophere;
    until(Rice= confused)

    like while my main loop is going its repeating something else.

  2. #2
    Join Date
    Jul 2009
    Location
    Australia
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    unfortunately, simba will only run one procedure at a time. You would have to include the shorter loop into the longer loop (only other way would be to have 2 scripts running at once) ;o

    ~Caotom

  3. #3
    Join Date
    Oct 2006
    Location
    Netherlands
    Posts
    3,285
    Mentioned
    105 Post(s)
    Quoted
    494 Post(s)

    Default

    This is as far as I know the only method: http://villavu.com/forum/showthread.php?t=51578

    But it's unstable and I suggest not to use it.
    Working on: Tithe Farmer

  4. #4
    Join Date
    Aug 2006
    Location
    USA
    Posts
    354
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok thanks

  5. #5
    Join Date
    Nov 2011
    Posts
    1,532
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Instead of multithreading it, is there any chance you can interweave the two things you want to check? What's your application here?

    e.g. If I want to check for a success/fail message in agility, instead of doing two loops I can interweave the two into one and check the success/ fail one after another.

    This is one application I can remotely think of that utilizes this.
    Current activity: Recovering from vacation
    - Nulla pars vitae vacare officio potest -
    SRL membership? Can I buy that?
    Scripts - AGS - SWF - WAR - EMS - W100S-EM
    If you need scripting help, you can pm me. Remember, if you need help you have to ask for it properly though

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
  •