home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.irc
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!sdd.hp.com!spool.mu.edu!sol.ctr.columbia.edu!destroyer!ais.org!dc
- From: dc@ais.org (David Daniels)
- Subject: Help Needed with /exec in .ircrc
- Message-ID: <BuJ7H6.DB9@ais.org>
- Organization: UMCC
- Date: Sun, 13 Sep 1992 19:29:27 GMT
- Lines: 27
-
-
- Here's what I am trying to do...
- I want to put a /exec in my .ircrc that will telnet to an address
- send a few commands, and wait for the site I am telneting to to stop
- sending data before I turn the display back on. (That's the hard
- part)
- I am not to familiar with the /if's and so on, so is there any way I can
- issue a command to wait for the /exec to send a certain character or
- prompt, such as a question mark, etc.
- (in other words make a small script to telnet to and log into another
- machine, through irc) Don't ask why. :)
- The part I've been having the worst luck with is getting it to log in,
- without producing any output on my screen. I've tried using /wait's
- and /sleeps but they just don't seem to work.
- I've also tried this through an alias, by making a new window,
- executing the telnet, hiding the window, issuing /sleep's and /wait's
- and then showing and killing the window, but this does not seem to7 work.
- Most of the outputt is still sent to me.
- Any help at all will be appreciated.
-
- Thanks, dc@ais.org
-
- --
- ________________________________________________________________________
- \ E-Mail: dc@ais.org /\ Comin' from the unpolitically correct \
- \__________________________\/\ half of this world refered to as //
- \_\ The ProjectZ!________________________//
-