home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
new
/
comm
/
mail
/
thor
/
thor.lha
/
rexx
/
ABBSSearch.thor
next >
Wrap
Text File
|
1994-04-19
|
845b
|
39 lines
/* ABBSSearch.thor · by Troels Walsted Hansen
** $VER: ABBSSearch.thor v1.00 (19.04.94)
**
** Make command event for "f k xxx *", where xxx is something you
** type in a requester.
*/
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
REQUESTSTRING TITLE '"Enter part of filename or description:"' BT '"_Ok|_Cancel"' MAXCHARS 900
str = result
if(rc ~= 0 | str = "RESULT") then exit
cmdstring = "f k "str" **"
ADDEVENT BBS '"'bbsname'"' EVENT DOCOMMAND CMD '"'cmdstring'"'
exit