mIRC Home    About    Download    Register    News    Help

Print Thread
#122298 08/06/05 07:56 PM
Joined: Jun 2005
Posts: 4
N
naeruj2 Offline OP
Self-satisified door
OP Offline
Self-satisified door
N
Joined: Jun 2005
Posts: 4
I want mIRC to make a sound when someone joins a specific channel. I cannot find the code to do this. Can anyone help me?
I have mIRC v. 6.16
Thanks!

#122299 08/06/05 08:02 PM
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
Use the ON JOIN event, see /help on join.

Example:

on *:join:#channel:{ splay sound.wav }

Regards,


Mentality/Chris
#122300 08/06/05 08:26 PM
Joined: Jun 2005
Posts: 4
N
naeruj2 Offline OP
Self-satisified door
OP Offline
Self-satisified door
N
Joined: Jun 2005
Posts: 4
Thanks, where do I put this? In Remotes?

#122301 08/06/05 08:31 PM
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
Yes, ALT+R > File > New.

Regards,


Mentality/Chris
#122302 08/06/05 08:31 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Yes. Press Alt-R, go to the file menu and choose New (prevents conflicts by having it on a new script). Then just use that command.

Note that if you need to include a path to the sound, and the path or filename has spaces, then use quotes around it like this:

on *:join:#channel:{ splay "my sound.wav" }
on *:join:#channel:{ splay "c:\program files\sound.wav" }

*EDIT*
I'm too slow. smile

Last edited by Riamus2; 08/06/05 08:32 PM.

Invision Support
#Invision on irc.irchighway.net
#122303 08/06/05 08:58 PM
Joined: Jun 2005
Posts: 4
N
naeruj2 Offline OP
Self-satisified door
OP Offline
Self-satisified door
N
Joined: Jun 2005
Posts: 4
Thanks to both of you!! It worked!


Link Copied to Clipboard