Article View: amiga.general
Article #234uupoll.rexx for Welmat/AmigaUUCP sites
From: Russell McOrmond
Date: Fri, 01 Nov 1991 05:35
Date: Fri, 01 Nov 1991 05:35
74 lines
2771 bytes
2771 bytes
Well, here is my UUPOLL.rexx script. It now understands the system
names 'hasmail' (Checks if the site has mail) and 'all' (Will call all
sites).
Let me know if there are any problems: If you find these types of scripts
usefull, also let me know. I'll not bother posting them if people do not
find them usefull.
/* UUPoll.rexx For use with Welmat 0.46+ and AmigaUUCP 1.13+ */
/*
* This script allows WELMAT to handle the dialing for you rather
* than requiring that the line be taken down before each call
*
* Russell McOrmond rwm@Atronx.OCUnix.On.Ca {tigris,alzabo,...}!atronx!rwm
* FidoNet 1:163/109 Net Support: (613) 230-2282 Amiga-Fido Support 1:1/109
* Gateway for .Amiga.OCUnix.On.Ca Current WELMAT 'keeper of sources'.
*
*/
Options RESULTS
Options failat 100
RC = 0
parse arg callsystem rest
x=Open('lsys',"UULib:l.sys",'R')
if (callsystem = 'all') | (callsystem = 'hasmail') then spoolfiles=Showdir("uuspool:",'Files')
if x=0 then do
SysopLog "Error reading UULib:l.sys file!!!"
Exit 1
end
do forever
Line=ReadLn('lsys')
if EOF('lsys') then Leave
if Left(Line,1)='#' then Iterate
Parse var Line System ' ' Times ' ' Device ' ' Baud ' ' Phone ' ' Junk
if (Times = 'Never') then Iterate
if (callsystem ~= 'all') & (callsystem ~= 'hasmail') & (callsystem ~= System)
then Iterate
if (callsystem = 'hasmail') & ( index(spoolfiles,'C.' || System) < 1)
then Iterate
Address Command 'wctl -call 1:1/1.0 -number' Phone '-nofido -prerun "uucp:c/uucico -o -s' || System '-DEVICE %d -UNIT %u"' rest
if (callsystem ~= 'all') & (callsystem ~= 'hasmail') then Leave
end
x=Close('lsys')
Exit RC
--
Destroy the Modem 'Tower of Babel' - Buy only V.32(bis) high-speed modems
Opinions expressed in this message are my Own. I represent nobody else.
Russell McOrmond rwm@Atronx.OCUnix.On.Ca {tigris,alzabo,...}!atronx!rwm
FidoNet 1:163/109 Net Support: (613) 230-2282 Amiga-Fido Support 1:1/109
Gateway for .Amiga.OCUnix.On.Ca Current WELMAT 'keeper of sources'.
Technical Details
Message-ID:
<rwm.688977346@atronx.OCUnix.On.Ca>Path:
arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!cs.utexas.edu!utgpu!cunews!cognos!alzabo!latour!atronx.OCUnix.On.Ca!rwmShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10844a,1af6e2085817b96c,start X-Google-Attributes: gid10844a,public X-Google-Thread: fe2bc,1af6e2085817b96c,start X-Google-Attributes: gidfe2bc,public X-Google-ArrivalTime: 1991-11-02 09:14:12 PST Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!cs.utexas.edu!utgpu!cunews!cognos!alzabo!latour!atronx.OCUnix.On.Ca!rwm From: rwm@atronx.OCUnix.On.Ca (Russell McOrmond) Newsgroups: amiga.general,alt.sys.amiga.uucp Subject: uupoll.rexx for Welmat/AmigaUUCP sites Message-ID: <rwm.688977346@atronx.OCUnix.On.Ca> Date: 1 Nov 91 05:35:46 GMT Lines: 74