mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2009
Posts: 2
K
Bowl of petunias
OP Offline
Bowl of petunias
K
Joined: Feb 2009
Posts: 2
Hello!
I wondered if it is possible to get notified with a sound when you get a message on mIRC?

Is it possible to have diffrent sounds when you get a message in the channel chat and get PM.

I have the newest version of mIRC with NN-script.

Joined: Jul 2006
Posts: 4,187
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,187
You can use the mirc option (alt + o > sound) but it let you choose only one sound, you'll have to use a code :

Code:
on *:text:*:?:splay path\file
on *:text:*:#:splay path\file
The first line is for query message, second for channel message, replace path\file by your sounds.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
What you're asking for is possible, via a script, however, there have been times when I've written scripts for people that have been using NN Script and they have said that my scripts didn't work.

Further examination has shown that my scripts did work, but something in NN Script prevented my codes from operating properly.

example code
Code:
on *:text:*:*:{
  .splay $iif($chan,channel,private) $+ .wav
}


Joined: Feb 2009
Posts: 2
K
Bowl of petunias
OP Offline
Bowl of petunias
K
Joined: Feb 2009
Posts: 2
Sry, but im a irc nooby! Where do I add those lines? Shall I make a new script.txt file?

Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Put it in Alt+R (Remotes)


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Link Copied to Clipboard