home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / gtirc301.zip / REXXCONN.CMD < prev    next >
OS/2 REXX Batch file  |  1997-11-24  |  3KB  |  44 lines

  1. /*********************************************************************/
  2. /* REXXCONN.CMD  GammaTech IRC Sample REXX Stand Alone Script        */
  3. /*********************************************************************/
  4. /*                                                                   */
  5. /* This script is supported only on GtIrc version 3.0 and above.     */
  6. /*                                                                   */
  7. /* This is a sample REXX script for use with GammaTech IRC. It is    */
  8. /* executed each time a server connection is completed.              */
  9. /*                                                                   */
  10. /* To activate this script place the script name in the Connection   */
  11. /* field of the Startup Dialog.                                      */
  12. /*                                                                   */
  13. /*********************************************************************/
  14. /*                                                                   */
  15. /* Entry arguments:                                                  */
  16. /*                                                                   */
  17. /* Arg 1 - Window Handle                                             */
  18. /* Arg 2 - Your Nickname                                             */
  19. /* Arg 3 - Window Name                                               */
  20. /* Arg 4 - Command line parameters if any                            */
  21. /*                                                                   */
  22. /*********************************************************************/
  23. /*                                                                   */
  24. /* There are external REXX functions you may use in this REXX        */
  25. /* procedure which are described in the online help under Script     */
  26. /* programming. A summary of those functions is shown below:         */
  27. /*                                                                   */
  28. /* IrcRexxDisplay(text,win)          Display text in a window.       */
  29. /* IrcRexxCommand(text,win)          Send text or /comamnd to IRC    */
  30. /* IrcRexxSend(text,win)             Send raw text to server.        */
  31. /* IrcRexxVariable(win,name[,value]) Query or set an IRC variable.   */
  32. /* IrcRexxWildCard(wildcard,string)  Check for wildcard match.       */
  33. /*                                                                   */
  34. /*********************************************************************/
  35. Parse Arg WinHandle WinName OurNick Parms
  36.  
  37. Pool = 'OS2ENVIRONMENT'
  38.  
  39. IrcRexxCommand("/WHOIS $NICK",WinHandle)
  40. IrcRexxCommand("/UMode +i",WinHandle)
  41.  
  42. Return ""
  43.  
  44.