From Paul Higgins · 1996-04-01 05:39 · #65352 in 60S_70S_PROGROCK
In a message of 27 Mar 96 scott beardwood wrote to me:
Hi scott,
sb> second qustion do you Know of a Script to replace the Poll Command that
sb> will poll all of my Bosses and then Import The Msg's All Off the One
sb> Button ?
If you are using trapdoor to poll this should work
=================8< Rexx:spot/_Poll.Spot=8<========
/* A Program FOR TrapDoor
BY Paul Higgins 2:253/417.5@FidoNet
Save as [Path TO Rexx:Spot/]_Poll.Spot
*/
TDPath = "BIN:"
Boss.1="2:253/417.0"
Password.1="What You Think"
PointNumber.1="2:253/417.5"
Aka.1 = "240:360/54.5 2:253/0.5 73:7446/2015.5"
Boss.2="2:441/93.0"
Password.2="I would Publish "
PointNumber.2="2:441/93.11"
Aka.2 = "2:441/0.11 12:442/11.11 13:441/104.11 39:133/193.11 64:7000/26.11 107:1703/47.11 240:360/26.11 69:102/27.11 959:104/7.11 76:10/10.11 1080:112/7.11"
Boss.3="2:259/69.0"
Password.3="My Passwords"
PointNumber.3="2:259/69.0"
Aka.3 = ""
OPTIONS RESULTS
IF ~show('ports','SPOT') THEN DO
ADDRESS command 'run 'spot_path
'WaitForPort SPOT'
/* IF you use a _startup.Spot script you
may have TO use a pause here */
END
ADDRESS SPOT
'iconify' /* IF you are low on Memory */
'export CLOSEWIN'
DO Loop = 1 TO 2 /* one Less than you need */
CALL TrapDoor
END
'Import'
'UnIconify' /* IF you are low on Memory*/
'toggleWorkBench' /* " " " " " " */
'purgebuffers' /* " " " " " " */
EXIT
TrapDoor:
BoardAddress = Boss.Loop
Password = " Password "'"'Password.Loop'"'
PointNumber = ' NODE ' '"'PointNumber.Loop'"'
Akas = " Aka " '"'Aka.Loop'"'
ADDRESS Command tdpath||'trapdoor CALL 'BoardAddress||Password||PointNumber||Akas
RETURN
=================8< Rexx:spot/_Poll.Spot=8<========
Let me know how you get on.Personaly I would setup my passwords via Bin:setpasswd or put them in my Traplist.cfg
TTYL,
Paul Hi
--- Spot 1.3a #671
* Origin: Pointing aimlessly on the BHA (2:441/93.11@Beachy Head Fido)