home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / libfiles.zip / startirc.cmd < prev    next >
OS/2 REXX Batch file  |  1995-01-02  |  2KB  |  44 lines

  1. /* This is the "main" configuration file for ircii. It sets up a lot of 
  2.    environment variables. A few of them you will have to change unless 
  3.    you want lots of things stuffing up...*/
  4.  
  5. /* The home and IRCLIB are basically the same thing. The are where the 
  6.    irc program resides. Inside this directory you should have the SCRIPT
  7.    and translation directories. The difference between the two environ
  8.    variables is that one of them ends in a \    */
  9.  
  10. Call Value 'HOME','D:\irc','OS2ENVIRONMENT'
  11. Call Value 'IRCLIB','D:\irc\','OS2ENVIRONMENT'
  12.  
  13. /* The IRCRC variable is the path to your IRCRC. ircii should load this on
  14.    startup but it seems to be playing up a bit. */
  15.  
  16. Call Value 'IRCRC','D:\irc\ircrc','OS2ENVIRONMENT'
  17.  
  18. /* The user variable is for what you want before the @ symbol. This may be
  19.    automatically changed if you are running via TIA and your host has an
  20.    identd for example. */
  21.  
  22. Call Value 'USER','OS2User','OS2ENVIRONMENT'
  23.  
  24. /* Set the nickname you want via ircnick. Set the thing in the brackets by
  25.    the ircname, and set the server you want to connect to by the value of
  26.    ircserver. The default format for ircserver is something like:
  27.    firstserver:optionalport:optionalpasswd secondserver:port:passwd  etc */
  28.  
  29. Call Value 'IRCNICK','IrcIITester','OS2ENVIRONMENT'
  30. Call Value 'IRCNAME','User of IrcII for OS/2','OS2ENVIRONMENT'
  31. Call Value 'IRCSERVER','irc-2.mit.edu','OS2ENVIRONMENT'
  32.  
  33. /* The ifconfig is important for keyboard input. */
  34.  
  35. 'ifconfig lo 127.0.0.1'
  36.  
  37. /* The mode is to change a default window size */
  38.  
  39. 'mode CO80,30'
  40.  
  41. /* And then finally start the program. */
  42.  
  43. 'irc'
  44.