🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #135014

Re: [Dialog] Help with Random Sigs

#135014
From: Antonio 'Gandalf' Favata
Date: Mon, 06 Oct 2003 13:33
38 lines
3037 bytes
news.software.readers ~ 6/10/2003 15.11 ~ Antonio 'Gandalf' Favata:

>>> [altough I'm too lazy to wrote this right now... maybe in the future :P]
>> Bad excuse :-)
> Well, right... so it's a personal matter now, going to write it :)

If someone's interested:
|| #!hs2
|| 
||     varset($Message, ArtAlloc)
||     ArtLoad($Message, paramstr(2))
|| 
||         varset($Body, ListAlloc)
||         ListSetText($Body, trim(ArtGetBody($Message)))
|| 
||             varset($lastline, ListCount($Body) - 1)
||             varset($siglines, $lastline - ListIndexOf($Body, "-- "))
||             if ($siglines > 4)
||                 ArtSetHeader($Message, "X-Removed-Signature", "Yes, "+$siglines+" lines")
||                 var($i)
||                 for ($i, 0, $siglines)
||                     ListDelete($Body, $lastline - $i)
||                 endfor
||                 ArtSetBody($Message, ListGetText($Body))
||             endif
|| 
||         ListFree($Body)
|| 
||     ArtSave($Message, paramstr(2))
||     ArtFree($Message)
|| 
|| quit
-- 
Fare Well! | gandalf@ithn.net ~ ICQ# 16553733 ~ now: 06/10/2003 15.32.03
G          | Advice:     DustBuster XP 2.8 <http://snurl.com/dustbuster>

In case of fire, yell "FIRE!"
Technical Details
Message-ID: <njjlbw4x5apr$.dlg@gandalf.my-fqdn.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!212.141.245.154!not-for-mail
References: <n00teym8f80d$.dlg@marcmywords.com> <3escqpk8har0$.dlg@gandalf.my-fqdn.de> <oqxyk73wts0c.dlg@marcmywords.com> <1nohhgb44nej3$.dlg@gandalf.my-fqdn.de> <1vgzz7yap7n6p.dlg@marcmywords.com> <7wgrizeg7o2o$.dlg@gandalf.my-fqdn.de> <1j8kgxm1d2gu8$.dlg@marcmywords.com> <136x13sb7456v.dlg@ID-187316.user.uni-berlin.de> <1s8ilubabsgox$.dlg@marcmywords.com> <06.10.2003.14.50.52$news.software.readers$@hkh.dyndns.dk> <fx4hw1inozlc.dlg@gandalf.my-fqdn.de> <06.10.2003.15.06.35$news.software.readers$@hkh.dyndns.dk> <e7zj9hyoqxvh$.dlg@gandalf.my-fqdn.de>

Show Full Headers
Complete Article Headers
Message-ID: <njjlbw4x5apr$.dlg@gandalf.my-fqdn.de>
Subject: Re: [Dialog] Help with Random Sigs
Date: Mon, 06 Oct 2003 13:33:31 +0000
From: Antonio 'Gandalf' Favata <this.address.is.valid@bigfoot.com>
References: <n00teym8f80d$.dlg@marcmywords.com> <3escqpk8har0$.dlg@gandalf.my-fqdn.de> <oqxyk73wts0c.dlg@marcmywords.com> <1nohhgb44nej3$.dlg@gandalf.my-fqdn.de> <1vgzz7yap7n6p.dlg@marcmywords.com> <7wgrizeg7o2o$.dlg@gandalf.my-fqdn.de> <1j8kgxm1d2gu8$.dlg@marcmywords.com> <136x13sb7456v.dlg@ID-187316.user.uni-berlin.de> <1s8ilubabsgox$.dlg@marcmywords.com> <06.10.2003.14.50.52$news.software.readers$@hkh.dyndns.dk> <fx4hw1inozlc.dlg@gandalf.my-fqdn.de> <06.10.2003.15.06.35$news.software.readers$@hkh.dyndns.dk> <e7zj9hyoqxvh$.dlg@gandalf.my-fqdn.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!212.141.245.154!not-for-mail
Newsgroups: news.software.readers
Organization: the White Council
Lines: 37
Reply-To: gandalf@ithn.net
NNTP-Posting-Host: 212.141.245.154
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 1065447211 16407470 212.141.245.154 (16 [197363])
X-Now-Playing: Santana - Samba pa ti
User-Agent: 40tude_Dialog/2.0.5.166it (d3efd109.307.248) Hamster/2.0.2.2
X-Face: &]^_njQjKuBI.th%)W1+ESkFY4E:r*#8}rkHLF'QTLo,>mql9aGkV*,v.-,qVdu&8Xk(6K
X-Pets: Merry <http://snurl.com/merry>, Mystra [female hamster], John Mayall [pelouche pig], Alice [my love ;*]