Results 1 to 4 of 4

Thread: Wait Until Generic Function For Everything @ Stuff

  1. #1
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default Wait Until Generic Function For Everything @ Stuff

    So Imma have a bunch of boolean functions.

    I want to have one wait function (Similar to WaitOption/WiatUpText etc) that repeatedly waits 100ms or so until one of my particular boolean functions is true and then if it's not true after X seconds to log out etc.

    How do?
    I assume an @ symbol is needed somewhere? Is so, that would be cool, you don't see @ symbols often in scripting and seeing it makes me think the code is cool.

  2. #2
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    waitFunc(@function, waitParam);



    E: might be 2 'waitParam's, 1 for each iteration, the other for total time.

  3. #3
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    He'd probably have to use WaitFuncEx since his function probably requires parameters.

  4. #4
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Oh sweet, already in SRL very nice, very cool!
    And there IS an @ Symbol, I feel pro :].
    Thanks!

    EL
    I looked at Ex, I think I'll be just fine with regular WaitFunc for now, but thanks.

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
  •