sentinel11011
Technical User
I need to do an infinite WaitFor for a script I'm writing. The problem is that putting it in a loop and waiting until the function returns 1 eats tons of CPU cycles. Is there a way to do an infinite WaitFor? For example
session.WaitFor(0, [something infinite here], "login:")
I tried just a really large amount of milliseconds (like an hour), but it overflows at 9999.
Thanks!
session.WaitFor(0, [something infinite here], "login:")
I tried just a really large amount of milliseconds (like an hour), but it overflows at 9999.
Thanks!