home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
ircdo143.zip
/
IRC.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-08-28
|
657b
|
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 -dc:\max\node%2\door.sys %3 %4 %5 %6 %7 %8 %9
goto done
:local
ircdoor -l %3 %4 %5 %6 %7 %8 %9
:done
if exist nodeinfo.%2 erase nodeinfo.%2
cd \max