home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 28
/
amigaformatcd28.iso
/
-seriously_amiga-
/
comms
/
other
/
eucalyptus
/
rexx
/
mailnotify.euc
next >
Wrap
Text File
|
1998-05-09
|
746b
|
24 lines
/* Eucalyptus->IRC client notification script v1.1
// by Eric Sauvageau merlin@thule.no
//
// v1.0 - Original Creation
// v1.1 - Added support to diferentiate
// between MindLink and AmIRC
// (Deryk Robosson newlook@ameritech.net)
*/
options results
trace results
/* audio player to use */
player = 'c:play16'
/* sample to play when email is received */
sample = 'work:audio/samples/incoming.iff'
/* Play our sample */
address command player' 'sample
/* Figure out which client we're running and notify the appropriate one */
if show(ports,'MINDLINK') then address MINDLINK ShowMSG '!B![Email] You have new mail.'
if show(ports,'AMIRC.1') then address AMIRC.1 'echo P=d2c(27)||d2c(2)||'«Askhost»'||d2c(2)||' You have new mail.'