Article View: news.software.readers
Article #58156Re: [SLRN] OK, why doesn't this work?
From: Renaud Colinet
Date: Wed, 16 Feb 2000 00:00
Date: Wed, 16 Feb 2000 00:00
25 lines
1441 bytes
1441 bytes
On Wed, Feb 16 2000 17:18:51 GMT, Steve Lamb wrote:
>
>morpheus@teleute:~ cat .morph.sl
>define post_hook ()
>{
> variable realname = "Steve Lamb";
> variable signature_file = ".signature";
>
> if (is_substr(current_newsgroup(),"alt.gothic")){
^^^^^^^^^^^^^
is_substr returns 0 if the substring match, and a non-zero value in the
other case. Thus the "if" statement is applied if you're NOT posting to
alt.gothic.
Change it to
#v+
if (0 == is_substr(current_newsgroup(),"alt.gothic")){
#v-
and it should work fine
--
Renaud
The From: address is valid but filtered. Please use the Reply-To:
address for direct replies.
Technical Details
Message-ID:
<slrn8am0vn.c3h.colinet@beige8.ensta.fr>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn8almvr.52g.morpheus@rpglink.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn8am0vn.c3h.colinet@beige8.ensta.fr> Subject: Re: [SLRN] OK, why doesn't this work? Date: Wed, 16 Feb 2000 00:00:00 +0000 From: colinet@pervenche10.ensta.fr (Renaud Colinet) References: <slrn8almvr.52g.morpheus@rpglink.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 586658751 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=iso-8859-1 Organization: Ecole Nationale Superieure de Techniques Avancees (ENSTA), Paris Mime-Version: 1.0 User-Agent: slrn/0.9.6.2 (Linux) Reply-To: colinet@ensta.fr Newsgroups: news.software.readers