[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, Decklin Foster wrote:
...
: No, you need to add a handler for the actual invite message. At some
: point, sleep will not cover the lag, and you will lose. Check the raw
: log window to see what you need to dispatch on.

Yes, but how would I make that handler active ONLY when I type the command
that initiates the whole thing? I wouldn't want to add a handler for
invite to be on all the time, only when I actually call the command that
tells the bot to invite and starts the sequence.

: Now, a question for the rest of the group. What do we do when sleep()
: is replaced by sub_which_performs_several_seconds_of_computation()?

Good question.
...
: I sort of suspect that IRC::blah is just pushing commands onto a queue
: that gets flushed whenever the code dips back into XChat. But I don't
: know the internals.

It looks that way, however I do not know either.

* 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

iD8DBQE5kF03dMMtMcA1U5ARArrvAJ9/Ue9PDfJmn9u5YG4OdSM2B5jLKgCfbP2u
fEaLdw9CM38NANNt9+0aj7k=
=PRRY
-----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>