🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #124541

Re: Dialog: ReplyNotify

#124541
From: Marcus Mönnig
Date: Tue, 06 May 2003 13:48
45 lines
2400 bytes
On Tue, 6 May 2003 14:31:16 +0100, Ron S wrote:

> Is there a script out there that works similar to the ReplyNotify in Xnews
> ie...Play sound when someone responds to one of my posts...?

Make sure you generate MsgIDs with Dialog that are based on your domain and
then use this OnXover event script:

__________________
program OnXover;

procedure OnXover(Var XoverData:TXoverData);
begin
if pos('@RonsDomainUsedInHisMsgIDs.uk',xoverdata.references)>0 then beep;
end;

begin
end.
________________

This will make it ding, but you could play a wav file with this:

_____________
program OnXover;

function PlaySound( Filename: PChar; Options: LongWord ): Boolean;
         external 'sndPlaySoundA@winmm.dll stdcall';

procedure OnXover(Var XoverData:TXoverData);
begin
if pos('@RonsDomainUsedInHisMsgIDs.uk',xoverdata.references)>0 then 
 PlaySound( 'c:\windows\media\tada.wav', 1 );
end;

begin
end.
_____________


Marcus
-- 
No replies in private e-mail, please, unless explicitly requested!
Please log bug reports into Mantis: http://www.40tude.com/dialog/mantis/
Please share your scripts and tips: http://www.40tude.com/dialog/wiki/
Technical Details
Message-ID: <8ry0skilsjbs$.dlg@40tude.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
References: <1kl6t78iexk8.18aietz27qbn.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <8ry0skilsjbs$.dlg@40tude.com>
Subject: Re: Dialog: ReplyNotify
Date: Tue, 6 May 2003 15:48:00 +0200
From: Marcus Mönnig <usenet-apr03@40tude.com>
References: <1kl6t78iexk8.18aietz27qbn.dlg@40tude.net>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
Newsgroups: news.software.readers
Organization: T-Online
Lines: 44
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.t-online.com 1052228879 05 2726 brn7EmqSDYH1P 030506 13:47:59
X-Complaints-To: abuse@t-online.com
X-ID: ZNsqe2ZD8e9lsjRNxYiVOSJgri8-mZw665fH3kLo45WWIe5rVP6skf
X-Face: .k.-$2:"SOnv`$+._5GWLVbo=\AYg!R'T#G[$P`Chd0T$NtF2}68aF}1gRDrxTQi']7Ldza n{+d:rTHS*nc<xt?o:zVx>3P$=`rx}:o1!BA'OmJn(lR=Y%mG{*T#D-B02=:Dh0138$V
User-Agent: 40tude_Dialog/2.0.5.45el (16b05054.284.192)