🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #141550

play wav sound on reply - except if it's from yourself

#141550
From: Frank Lekens
Date: Sun, 18 Jan 2004 19:44
26 lines
1833 bytes
I've implemented the script on
http://40tude.com/dialog/wiki/index.php/ScriptSoundOnReply to make Dialog
play a wav sound whenever someone replies to a message of mine.

The script is as follows:

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.

Can this be changed so as to have Dialog *not* play that wav when the next
addition to the thread comes from myself? So that only other people's
contributions are signalled, not my own?
-- 
Frank
(xs4all dot nl is where it's really @)
Technical Details
Message-ID: <1083txkdxcsdu$.dlg@coconino.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!amsnews01.chello.com!newsgate.cistron.nl!transit.news.xs4all.nl!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <1083txkdxcsdu$.dlg@coconino.nl>
Subject: play wav sound on reply - except if it's from yourself
Date: Sun, 18 Jan 2004 20:44:47 +0100
From: Frank Lekens <krazykat@operamail.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!amsnews01.chello.com!newsgate.cistron.nl!transit.news.xs4all.nl!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.10.1nl
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Reply-To: krazykat@xs4all.invalid
Organization: Coconino County
Lines: 26
NNTP-Posting-Date: 18 Jan 2004 20:44:20 CET
NNTP-Posting-Host: 194.109.238.18
X-Trace: 1074455060 news.xs4all.nl 331 [::ffff:194.109.238.18]:2085
X-Complaints-To: abuse@xs4all.nl