home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
ircdor15.zip
/
irc.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-11-26
|
720b
|
26 lines
@echo off
rem *** Command file to run the IRCDOOR/2 from a BBS
rem *** usage: irc.cmd port node [...]
rem *** where: port is a hot handle to open OS/2 com port,
rem *** node is a node number to run IRC for,
rem *** [...] other parameters for the IRCDOOR/2
rem ***
rem *** use irc.cmd without parameters for local mode
rem ***
cd \max\doors\irc
if "%1" == "0" goto local
if "%1" == "" goto local
if "%2" == "0" goto local
if "%2" == "" goto local
:remote
ircdoor -p%1 -k%2 -dc:\max\node%2\door.sys %3 %4 %5 %6 %7 %8 %9
goto done
:local
ircdoor -l -umrbyte -nMr_Byte -r"Andrew Eigus" -sirc.funet.fi -$6666 %3 %4 %5 %6 %7 %8 %9
:done
if exist nodeinfo.%2 erase nodeinfo.%2
cd \max