home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
gtirc306.zip
/
REXXCONN.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1997-11-24
|
3KB
|
44 lines
/*********************************************************************/
/* REXXCONN.CMD GammaTech IRC Sample REXX Stand Alone Script */
/*********************************************************************/
/* */
/* This script is supported only on GtIrc version 3.0 and above. */
/* */
/* This is a sample REXX script for use with GammaTech IRC. It is */
/* executed each time a server connection is completed. */
/* */
/* To activate this script place the script name in the Connection */
/* field of the Startup Dialog. */
/* */
/*********************************************************************/
/* */
/* Entry arguments: */
/* */
/* Arg 1 - Window Handle */
/* Arg 2 - Your Nickname */
/* Arg 3 - Window Name */
/* Arg 4 - Command line parameters if any */
/* */
/*********************************************************************/
/* */
/* There are external REXX functions you may use in this REXX */
/* procedure which are described in the online help under Script */
/* programming. A summary of those functions is shown below: */
/* */
/* IrcRexxDisplay(text,win) Display text in a window. */
/* IrcRexxCommand(text,win) Send text or /comamnd to IRC */
/* IrcRexxSend(text,win) Send raw text to server. */
/* IrcRexxVariable(win,name[,value]) Query or set an IRC variable. */
/* IrcRexxWildCard(wildcard,string) Check for wildcard match. */
/* */
/*********************************************************************/
Parse Arg WinHandle WinName OurNick Parms
Pool = 'OS2ENVIRONMENT'
IrcRexxCommand("/WHOIS $NICK",WinHandle)
IrcRexxCommand("/UMode +i",WinHandle)
Return ""