mIRC Home    About    Download    Register    News    Help

Print Thread
#2779 20/12/02 09:37 PM
Joined: Dec 2002
Posts: 1
Q
Mostly harmless
OP Offline
Mostly harmless
Q
Joined: Dec 2002
Posts: 1
Is there a way to have MIRC make a sound or produce a flashing icon when someone leaves or enters a channel. I have enabled all the sounds and sound events listed in FILE/OPTIONS/SOUNDS, but still no sound when someone leaves or enters my channel. I have enabled sound on "Channel Messages", but still no sound.....

Thanks
QueenVee

#2780 21/12/02 01:10 AM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
Try these lines in your remotes (Alt-R):
Code:

on !*:JOIN:#: beep | flash -r5 $chan $nick joined $chan
on !*:PART:#: beep | flash -r5 $chan $nick left $chan
on !*:QUIT:{
  var %i = 1
  beep
  while ($comchan($nick,%i)) {
    flash -r5 $ifmatch $nick quit from $ifmatch
    inc %i
  }
}

If you want to specify just the channel or channels you want it to work with, then you can specify that like this (for on JOIN/PART only):
Code:

on !*:JOIN:#MyChannel1,#MyChannel2,#MyChannel3: beep | flash -r5 $chan $nick joined $chan
on !*:PART:#MyChannel1: beep | flash -r5 $chan $nick left $chan

The on QUIT would take a little more doing, probably by setting the channel list into a variable separated by commas, and looping through ($nick ison $gettok(%ChannelList,%i,44)) or something similar. It would be beneficial, if you want to go this route, to set up the variable and use it in the on JOIN:
Code:

on !*:JOIN:%ChannelList: beep | flash -r5 $nick joined $chan
on !*:PART:%ChannelList: beep | flash -r5 $nick left $chan


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C

Link Copied to Clipboard