[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: delay in perlscripts?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 8 Aug 2000, D. Hoyem wrote:

: Uli,
:   I believe that the syntax is sleep() so you would
: use sleep(60);
: Don

Last time I tried to play with sleep it did not work well at all.

What I was trying to do is the following:

1. CTCP bot INVITE
2. sleep(3)
3. JOIN #channel
4. CTCP bot OP

What ended up happening is:

1. sleep(3)
2. CTCP bot INVITE
3. JOIN #channel
4. CTCP bot OP

Of course, since the bot was not given time to invite me, it all failed.

I cannot find a way to make sleep work in the right damn order, though I
must admit I am not one that messes with perl alot, I'm trying to learn it
better though :)

* Matt Heckaman   - mailto:matt@lucida.qc.ca  http://www.lucida.qc.ca/ *
* GPG fingerprint - A9BC F3A8 278E 22F2 9BDA  BFCF 74C3 2D31 C035 5390 *

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.2 (FreeBSD)
Comment: http://www.lucida.qc.ca/pgp

iD8DBQE5kFZ+dMMtMcA1U5ARAjcUAKDtR16KNdHu+JYMNGa7ikGKM+yrIQCgzP9/
W0MzCq/2wSNcbJyvS1ZyIO4=
=ROUa
-----END PGP SIGNATURE-----


-
XChat-discuss: mailing list for XChat users
Archive:       http://mail.nl.linux.org/lists/
Posted By:     Matt Heckaman <matt@ARPA.MAIL.NET>