Results 1 to 6 of 6

Thread: wait idea

  1. #1
    Join Date
    Feb 2009
    Posts
    2,155
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default wait idea

    is there any way to make the script wait until it finds the ord logs int he chat box

  2. #2
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    repeat
      wait(10);
    until(InChat('logs'));

    That should work, unless InChat has been taken out of the srl include since I used it last like 1 year ago

  3. #3
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Note that you really should check for randoms inside that loop.
    Interested in C# and Electrical Engineering? This might interest you.

  4. #4
    Join Date
    Dec 2006
    Location
    Canada, BC
    Posts
    728
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i would also throw in antiban while its looping
    Lance. Da. Pants.

  5. #5
    Join Date
    Nov 2008
    Location
    Belgium
    Posts
    254
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    And perhaps set a timemark or else it will be an endless loop

  6. #6
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Maybe I should have wrote a whole auto responder, a custom anti ban include, and a random walking function in there too lol . Guys, all he wanted to know was how to repeat waiting until something popped up in chat. He's a scripter; he can do the rest of the scripting himself. Just helping him with the part he's stuck on.

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
  •