home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
new
/
comm
/
mail
/
thor
/
thor.lha
/
rexx
/
JoinConf.thor
< prev
next >
Wrap
Text File
|
1994-08-06
|
686b
|
37 lines
/* JoinConf.thor · by Troels Walsted Hansen
** $VER: JoinConf.thor v1.00 (19.04.94)
**
** Join a conf through requesters.
*/
options results
if(substr(address(),1,4) ~= "THOR") then do
parse arg portname
if~(show(p, portname)) then do
if ~(show(p, "THOR.01")) then do
say "No THOR port found!"
exit
end
else portname = "THOR.01"
end
end
else portname = address()
address(portname)
CURRENTBBS stem CURRENT
if(rc ~= 0) then do
REQUESTLIST BBSLIST
bbsname = result
if(rc ~= 0) then exit
end
else bbsname = CURRENT.BBSNAME
REQUESTLIST CONFLIST BBS '"'bbsname'"'
confname = result
if(rc ~= 0) then exit
ADDEVENT BBS '"'bbsname'"' EVENT JOINCONF C '"'confname'"'
exit