TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Thecivvie
from: Benny Pedersen
date: 2004-05-06 08:10:52
subject: Htick and SBBS

Hello Thecivvie!

01 May 04 22:06, Thecivvie wrote to FIDOSOFT.HUSKY:

 T> How do I use HTICK to announce files, ie can I send the announcements 
 T> to a file which I would autopost

   ----- dohtick begins -----
#!/bin/sh
# make ffix before toss :)
/home/xpoint/fido/bin/htick ffix
# now toss :)
/home/xpoint/fido/bin/htick toss annfecho
/usr/local/ftp/filelist/annfecho.txt filelist
/usr/local/ftp/filelist/filelist.txt
# make archive
/usr/bin/lha a /usr/local/ftp/filelist/filelist.lha
/usr/local/ftp/filelist/filelist.txt
rm /usr/local/ftp/filelist/filelist.bak
/usr/bin/zip -9 /usr/local/ftp/filelist/filelist.zip
/usr/local/ftp/filelist/filelist.txt
/usr/local/bin/rar a -std -inul /usr/local/ftp/filelist/filelist.rar
/usr/local/ftp/filelist/filelist.txt
# update file request database
/home/xpoint/fido/bin/mkdbase.pl > /home/xpoint/fido/log/mkdbase.log
2> /home/xpoint/fido/log/mkdbase.err
   ----- dohtick ends -----

   ----- dopost begins -----
#!/bin/sh
#
/home/xpoint/fido/bin/hpt post -nf "Sysop" -af 2:237/53.0 -nt
"All" -at 2:237/53.0 -s "new fileareas at xpoint" -e
"xpoint_info" -z "42% of stats are useless" -o
"sporten kort x" -f loc -d /usr/local/ftp/filelist/annfecho.txt
/home/xpoint/fido/bin/hpt qrep
# now announce
/home/xpoint/fido/bin/htick announce
   ----- dopost ends -----

   ----- config begins -----
AnnounceSpool       /home/xpoint/fido/sema/

AnnAreaTag          stn.n7045.newfile
AnnInclude          STN_DK STN-DK
AnnTo               Alle
AnnFrom             htick
AnnSubj             nye regionale filer hos xpoint
AnnOrigin           ftp your files from ftp://junc.org/
AnnMessFlags        loc
AnnFileOrigin       off
AnnFileRFrom        off
AnnAddrFrom         111:7045/38

AnnAreaTag          NetmailArea
AnnInclude          test
AnnAddrTo           2:236/100.0
AnnTo               Bo Simonsen
AnnAddrFrom         2:237/53.0
AnnFrom             htick
AnnSubj             new files in paltasnet
AnnOrigin           ftp your files from ftp://junc.org/
AnnMessFlags        loc
AnnFileOrigin       on
AnnFileRFrom        on
   ----- config ends -----

just my bash :-)

some of the lines my line wrapped, but works for me, the dopost is runned
one a day, the dohtick every 3 hours


 Regards Benny

... there can only be one way of life, and it works :)

--- Msged/LNX 6.1.2 (Linux/2.4.20-28.8 (i686))
* Origin: ftp://junc.org/ binkd 1.0a-371 xpoint{at}junc.org (2:237/53)
SEEN-BY: 633/267 270
@PATH: 237/53 9 20/11 2411/413 2432/200 2476/418 140/1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.